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 回表示 (過去 30 日間)
for jj=180:180:3000
v=c(:,jj)
end

採用された回答

dpb
dpb 2014 年 10 月 1 日
v=c(:,[180:180:3000])
  2 件のコメント
Fatin
Fatin 2014 年 10 月 1 日
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 2014 年 10 月 1 日
...I don't even need that loop...
Ayup...ain't Matlab wunnerful??? :)

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeMatrices and Arrays についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by