Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

How can I get all value after convert n matrix

1 visualizzazione (ultimi 30 giorni)
yen
yen il 18 Mag 2011
Chiuso: MATLAB Answer Bot il 20 Ago 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?

Risposte (1)

Sean de Wolski
Sean de Wolski il 18 Mag 2011

Questa domanda è chiusa.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by