Problem 2539. Add one raw in given matrix as shown in example
*Add one raw in given matrix as shown in example*
A=[1 0;0 1]; X=[3 5];
Answer must be:[1 0; 0 1;3 5]
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers148
Suggested Problems
-
6536 Solvers
-
272 Solvers
-
Matrix indexing with two vectors of indices
732 Solvers
-
Back to basics - mean of corner elements of a matrix
427 Solvers
-
277 Solvers
More from this Author70
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!