How do i plot this function
1 回表示 (過去 30 日間)
古いコメントを表示
how do i plot: y'' - y' =
- t - 5 in Matlab

1 件のコメント
Dyuman Joshi
2023 年 1 月 15 日
編集済み: Torsten
2023 年 1 月 15 日
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)
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Calculus についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!