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 vue (au cours des 30 derniers jours)
for jj=180:180:3000
v=c(:,jj)
end

Réponse acceptée

dpb
dpb le 1 Oct 2014
v=c(:,[180:180:3000])
  2 commentaires
Fatin
Fatin le 1 Oct 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 le 1 Oct 2014
...I don't even need that loop...
Ayup...ain't Matlab wunnerful??? :)

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Matrices and Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by