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 CenterFile Exchange에서 Matrices and Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by