Clear Filters
Clear Filters

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)
yen
yen on 18 May 2011
Closed: MATLAB Answer Bot on 20 Aug 2021
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?

Answers (1)

Sean de Wolski
Sean de Wolski on 18 May 2011

This question is closed.

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!