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 Solvers149
Suggested Problems
-
Replace NaNs with the number that appears to its left in the row.
3059 Solvers
-
313 Solvers
-
Find the index of the largest value in any vector X=[4,3,4,5,9,12,0,4.....5]
395 Solvers
-
369 Solvers
-
Sum of the Multiplication of Vectors
283 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!