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
-
2815 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
877 Solvers
-
383 Solvers
-
Test Problem; Create a 5x5 array containing all ones
402 Solvers
-
8223 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!