I have a for loop that give me as a result 16 vectors (v) and each vector is of size 15x1 , how can I save all those vectors in a matrix of site 15x16

1 Ansicht (letzte 30 Tage)
for jj=180:180:3000
v=c(:,jj)
end

Akzeptierte Antwort

dpb
dpb am 1 Okt. 2014
v=c(:,[180:180:3000])
  2 Kommentare
Fatin
Fatin am 1 Okt. 2014
Thank you sooo much for your answer , it works with me . I found that I don't even need that loop , I need just to read specific values from my previous loop . Thanks again
dpb
dpb am 1 Okt. 2014
...I don't even need that loop...
Ayup...ain't Matlab wunnerful??? :)

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by