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 Solvers145
Suggested Problems
-
22102 Solvers
-
Matrix indexing with two vectors of indices
709 Solvers
-
689 Solvers
-
Change the sign of even index entries of the reversed vector
491 Solvers
-
4803 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!