I have resolved the issue with the following code:
clc, clear allsyms yt=[0 pi 2*pi];a=[5 10];for k=1:length(a) for j=1:length(t) f=a(k)*sin(t(j)*y); fplot(y,f);hold on; endend
for loopMATLABplot
clc, clear allsyms yt=[0 pi 2*pi];a=[5 10];for k=1:length(a) for j=1:length(t) f=a(k)*sin(t(j)*y); fplot(y,f);hold on; endend
Best Answer