Info
This question is closed. Reopen it to edit or answer.
can you help me
3 views (last 30 days)
Show older comments
Please help me to solve y''''+y'''-y''-y'=2x+2sinx and then to compare in Simulink environment
3 Comments
Sam Chak
on 13 May 2024
Edited: Sam Chak
on 13 May 2024
@Arman, Please follow the example in the 'dsolve' or 'ode45' documentation page to create the code for the 4th-order system. Afterwards, you can copy and paste the code here by clicking on the indentation icon
. We will review it for any errors.
%% Paste your code here
function dydt = fourthOrderSys(t, y)
dydt(1) = ...;
dydt(2) = ...;
dydt(3) = ...;
dydt(4) = ...;
end
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!