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