Info
This question is closed. Reopen it to edit or answer.
How can I get all value after convert n matrix
2 views (last 30 days)
Show older comments
I have an image directory consist I1, I2,....In I1=[1 1 1 0;1 1 1 0;1 1 1 0]; I2=[1 0 1 0;1 0 1 0;1 0 1 0]; .... In=[1 1 0 1;1 1 0 1;1 1 0 1]; how can I convert I1->J1; I2->J2,....In->Jn J1=[1;1;1;1;1;1;1;1;1;0;0;0]; J1=[1;1;1;0;0;0;1;1;1;0;0;0]; ... Jn=[1;1;1;1;1;1;0;0;0;1;1;1]; I use reshape to convert Ii->J by loop: for i:n but I can only get the final J value. How can I get the J1-> Jn?
0 Comments
Answers (1)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!