Second order differential equation graphing
Mostrar comentarios más antiguos

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?
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Calculus en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
