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
-
Project Euler: Problem 7, Nth prime
1739 Solvers
-
746 Solvers
-
Switch matrix to a column vector
371 Solvers
-
Check that number is whole number
5149 Solvers
-
Flip the vector from right to left
10581 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!