close allclear allclctic;for k=1:0.5:10; for a=1:0.5:5; num=k; den=[1 a 0]; sys=tf(num,den); bode(sys);grid on;hold on; end end time=toc
MATLAB: How to vectorize this “For Loop”
control systemMATLAB
Best Answer