Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Evaluating and saving in vector

조회 수: 1 (최근 30일)
Abdul Rauf Anwar
Abdul Rauf Anwar 2014년 11월 14일
마감: MATLAB Answer Bot 2021년 8월 20일
The solution might be easy but i cant figure out, please take a look at this line of code
eval(['cPDC' num2str(j) num2str(k) '=pdc(j,k,:)']);
assuming j=1 and k=2 (arbitrary), so for time being I am saving something (vector or matrix) in variable cPDC12=.. how can I change this line to save in vector, something like cPDC12(:,i)=.., where i is loop variable. Any help or suggestion will be greatly appreciated.
Thanks

답변 (0개)

이 질문은 마감되었습니다.

태그

Community Treasure Hunt

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

Start Hunting!

Translated by