How do i plot this function
Afficher commentaires plus anciens
how do i plot: y'' - y' =
- t - 5 in Matlab
1 commentaire
Dyuman Joshi
le 15 Jan 2023
Modifié(e) : Torsten
le 15 Jan 2023
Symbolic method -
syms y(t)
Dy=diff(y);
eq=diff(y,2)-Dy-2*t^2+t+5==0;
%random conditions
%You need conditions to obtain a specific answer
cond=[y(0)==0, Dy(0)==1];
z=dsolve(eq,cond)
fplot(z)
Réponses (0)
Catégories
En savoir plus sur Numeric Solvers dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
