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 Solvers381
Suggested Problems
-
7742 Solvers
-
Which values occur exactly three times?
5150 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
836 Solvers
-
Test if two numbers have the same digits
247 Solvers
-
Given a square and a circle, please decide whether the square covers more area.
1259 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!