Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Evaluating and saving in vector

1 visualización (últimos 30 días)
Abdul Rauf Anwar
Abdul Rauf Anwar el 14 de Nov. de 2014
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
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

Respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by