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.

КОМЕНТАРІ • 8

  • @ALAsilTech
    @ALAsilTech Рік тому

    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.

    • @ahmadhably80
      @ahmadhably80  Рік тому +1

      Good to hear that. I will be glad if there are further suggestion or improvements to the content of my channel.

  • @AnilKumar-rb4dk
    @AnilKumar-rb4dk Рік тому

    Thank for this, helps a lot. Can you put the simulink file for better understanding.❤

    • @ahmadhably80
      @ahmadhably80  Рік тому

      You can try to do it and submit it for correctionˋ :-)

  • @sohaibullahzarghoon7425
    @sohaibullahzarghoon7425 Рік тому

    hello; nice work. if we have an ode equation then?

    • @ahmadhably80
      @ahmadhably80  Рік тому

      Give me more details

    • @sohaibullahzarghoon7425
      @sohaibullahzarghoon7425 Рік тому

      @@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 );

  • @Enkuhager
    @Enkuhager 5 місяців тому

    it is a nice video Dr. Thank you for the explanation, can I have your email please, Thank you Dr.