Find the size of the matrix, then multiply both values by 10 and make it into a column vector.
So if A = [ 1 2 3; 4 5 6; 7 8 9]
B = [ 30; 30]
Solution Stats
Problem Comments
2 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers164
Suggested Problems
-
Given a matrix, swap the 2nd & 3rd columns
1293 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
405 Solvers
-
Rotate a matrix for 180 degree
218 Solvers
-
215 Solvers
-
272 Solvers
More from this Author23
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
You say to make it a column vector, but the solutions are row vectors.
ah i just noticed that. sorry i will fix it.