Does anybody know how I can write the following commands in a loop
figurehold onplot(gjG(11,:,1));plot(gjG(11,:,2));plot(gjG(11,:,3));plot(gjG(11,:,4));plot(gjG(11,:,5));plot(gjG(11,:,6));hold off
gjG is an 11x8x6 matrix.
loop multiple plots single figure
figurehold onplot(gjG(11,:,1));plot(gjG(11,:,2));plot(gjG(11,:,3));plot(gjG(11,:,4));plot(gjG(11,:,5));plot(gjG(11,:,6));hold off
Best Answer