I want to plot two different functions in a same graph for different values of a parameter.
I tried the following code:
clcclear allsyms yt=[1 5];for i=1:length(t) U=exp(-y)*sin(t(i)); fplot(U,y,[0,5]); hold on; U1=exp(-y)*cos(t(i)); fplot(U1,y,[0,5]); hold on;end
Is that alright?
Best Answer