- syms - https://in.mathworks.com/help/symbolic/syms.html
- laplace transform - https://in.mathworks.com/help/symbolic/sym.laplace.html
- pretty - https://in.mathworks.com/help/symbolic/sym.pretty.html
Comandos para obtener laplace de una ecuación diferencial
조회 수: 37 (최근 30일)
이전 댓글 표시
Favor indicarme los códigos para obtener la transformada de Laplace de una ecuación diferencial.
댓글 수: 0
답변 (1개)
Paras Gupta
2023년 8월 21일
Hi Guillermo,
I understand that you want the commands to get laplace of a differential equation.
Please refer the following code for a working example in MATLAB.
syms t Y(s)
% Define the differential equation
diff_eq = diff(Y, t, 2) + 2*diff(Y, t) + 2*Y == 0;
% Take the Laplace transform
laplace_eq = laplace(diff_eq, t, s);
% Display the Laplace transform
pretty(laplace_eq)
Please refer to the following documentations for more details on the functions used in the example mentioned above:
Hope this helps.
댓글 수: 0
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!