Problem 2566. Building matrices
If you have matrix A, create matrix B using matrix A as an "element"
A = [1 2 3 4;
5 6 7 8] B = [1 2 3 4 1 2 3 4;
5 6 7 8 5 6 7 8;
1 2 3 4 1 2 3 4;
5 6 7 8 5 6 7 8]
Solution Stats
Problem Comments
-
1 Comment
Dyuman Joshi
on 26 Nov 2020
Needs more test cases
Solution Comments
Show commentsProblem Recent Solvers396
Suggested Problems
-
Return the largest number that is adjacent to a zero
5507 Solvers
-
3797 Solvers
-
702 Solvers
-
270 Solvers
-
Test Problem; Create a 5x5 array containing all ones
402 Solvers
More from this Author8
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!