I need to create this part (only helixs(?))
I created
——————————-
syms y(t)
dy = diff(y,t); d2y = diff(y,t,t);
DE = dy2 – 2*dy + 5*y == 0
cond = [y(0) ==4, dy(0) == 0]
sol = dsolve(DE, cond)
y = matlabfunction(sol)
dy1 = matlabfunction(diff(y,t))
x = linspace(-6, 6, 250);
plot(y(x),dy1(x), 'blue', 'LineWidth',3)
———————————————-
This code created
How should I create multiple of lines?
instead of just one line?
Best Answer