Hi,
I am trying to plot an equation with two variales but setting one variable as a constant for the plot.
Here is the code i have tried so far:
syms w sol(t)sol(t) = (1/(400-w^2)) * (sin(w*t) - (w/20)*sin(20*t))for w=5:10 fplot(sol(t)) hold onendhold off
Here is something else I have tried with a simplied version of the problem:
syms y(x) ay(x) = a*xa = 1fplot(y(x))
OR
syms y(x) ay(x) = a*xassume(a==1)fplot(y(x))
Thanks in advance for any help you can give.
Best Answer