Linear and nonlinear dynamical system implementation in Matlab/Simulink : LINMOD and eq. point
Вставка
- Опубліковано 15 вер 2024
- Here I show how to linearize a nonlinear system using limnod and how to compare nonlinear system and its linearized version in Simulink.
Hello, nice explanation last month I was searching for such video. It was the first step to develop a heading controller of a real marine robot model where we developed it for the linearized version first.
Good to hear that. I will be glad if there are further suggestion or improvements to the content of my channel.
Thank for this, helps a lot. Can you put the simulink file for better understanding.❤
You can try to do it and submit it for correctionˋ :-)
hello; nice work. if we have an ode equation then?
Give me more details
@@ahmadhably80 thank you for the answer, I mean if we have a set of nonlinear ordinary differential equations like this then:
%% Differential equations
dy = zeros(5,1); %initialization
dy(1) = (1/(p.rho(y(1))*p.Cp(y(1))))*( ( (p.K(y(1))/(p.dx^2))*(y(2)-(2*y(1))+ y(2)) ) + Q1 );
dy(2) = (1/(p.rho(y(2))*p.Cp(y(2))))*( ( (p.K(y(2))/(p.dx^2))*(y(3)-(2*y(2))+ y(1)) ) + Q2 );
dy(3) = (1/(p.rho(y(3))*p.Cp(y(3))))*( ( (p.K(y(3))/(p.dx^2))*(y(4)-(2*y(3))+ y(2)) ) + Q3 );
dy(4) = (1/(p.rho(y(4))*p.Cp(y(4))))*( ( (p.K(y(4))/(p.dx^2))*(y(5)-(2*y(4))+ y(3)) ) + Q4 );
it is a nice video Dr. Thank you for the explanation, can I have your email please, Thank you Dr.