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
Solution Comments
Show comments
Loading...
Problem Recent Solvers402
Suggested Problems
-
3090 Solvers
-
First non-zero element in each column
957 Solvers
-
Back to basics 19 - character types
275 Solvers
-
1188 Solvers
-
Create matrix of replicated elements
398 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!
Needs more test cases