Vector is a matrix whose size is 1 x n or n x 1.
Change matrix to vector.
x =
4 3
5 1
5 1input x should change to output y.
y =
4
5
5
3
1
1
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers204
Suggested Problems
-
Determine Whether an array is empty
815 Solvers
-
Calculate the area of a triangle between three points
3523 Solvers
-
Find the square of the sum of the digits of a number
161 Solvers
-
find whether it is prime or not
158 Solvers
-
358 Solvers
More from this Author27
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!