fill a matrix, with other matrix
Show older comments
I have a matrix ("M") of the size 169x212 with either a value of 0 or 1. Now for every value 0 i want to place in another matrix ("A") with the size of 16x16 And for every value 1, i want to place a different matrix ("B") with the size of 16x16
thus creating a matrix of 2704 x 3392.
How do i get this to work ?
Accepted Answer
More Answers (0)
Categories
Find more on Creating and Concatenating Matrices in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!