for i=2:1:12j=i-2;if j==10;CM1=inviscido(i,:);elseCM0_j=inviscido(i,:); %this
endend
MATLAB: How can i increase the variabile name of each vector in for cycle? I want CM0_0, CM0_1, CM0_2…
anti-patternbuggycomplexdynamic variable namesevalevil evalfor loopMATLABslow
Related Question
- Use of dialogue boxes: interactively choosing directory and file to read at the beginning, and “save as” at the end, during the execution of script.
- Evaluate dynamic variables in a loop and assign each one with optimvar.
- Solve failing on some values.
- Looking for a command
- How to load matrices from mat file
- How to split vibration data into different cycles
Best Answer