Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

How can I get all value after convert n matrix

1 vue (au cours des 30 derniers jours)
yen
yen le 18 Mai 2011
Clôturé : MATLAB Answer Bot le 20 Août 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?

Réponses (1)

Sean de Wolski
Sean de Wolski le 18 Mai 2011

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by