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 Solvers146
Suggested Problems
-
Project Euler: Problem 1, Multiples of 3 and 5
3004 Solvers
-
Flip the main diagonal of a matrix
780 Solvers
-
Celsius to Fahrenheit converter
595 Solvers
-
156 Solvers
-
Compute LOG(1+X) in natural log
240 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!