How to design Differential Equation (2nd Order) in Simulink - MATLAB?

Поделиться
HTML-код
  • Опубликовано: 1 дек 2024

Комментарии • 46

  • @salimamansoura7838
    @salimamansoura7838 3 года назад +17

    May God reward you for all your efforts and all the valuable information that you provide us smoothly .

  • @timothysands5537
    @timothysands5537 Год назад +2

    This video is a godsend to my peers and I in Dynamical Systems with 1st and 2nd order ODE's. THANK YOU kind sir! :D

  • @thivakaran8867
    @thivakaran8867 Год назад +2

    Thank you so much for this video, actually I don't have any basic knowledge about Matlab ,this made me simulink work

  • @victorakeloe
    @victorakeloe 3 года назад +2

    Thanks so much, I'm ready for my matlab exams this afternoon

  • @moonofearth
    @moonofearth 4 года назад +2

    Thank You Sir,,,, Very Helpful video,,,Explained in a easy way !!

  • @GauravRai-s8x
    @GauravRai-s8x Год назад +1

    u explained well sir. very informative video. thank you sir

  • @user-un9ej7th6j
    @user-un9ej7th6j Год назад +1

    Very well explained helps dearly with my masters degree!

  • @mariaclaracerqueiralimagui1161
    @mariaclaracerqueiralimagui1161 2 месяца назад +1

    such a good video! thank you for that!!

  • @AndrzejAAn
    @AndrzejAAn 3 года назад +3

    thank you so much !!!! finally I understood that

  • @soutrikband
    @soutrikband 6 лет назад +6

    How do you take care of the initial conditions ?

    • @ProgrammerWorld
      @ProgrammerWorld  6 лет назад +8

      Initial conditions can be given in Integration Block. Open the integrator block parameter window by double clicking the block and there you will get the option to enter initial condition.
      I think I have shown this step in my "spring mass damping" video. You can refer to that video by using below link :
      ruclips.net/video/D0co7PoclKk/видео.html

  • @cnavarrete1999
    @cnavarrete1999 3 года назад +2

    Thank you sir. You really helped me

  • @SaquibSattar007
    @SaquibSattar007 6 лет назад

    4A. Obtain voltage across capacitor using SIMULINK Model for the RC System with following specifications. Create subsystem and steps to set up parameters in Masking. Initial condition is Vc(0)=2A R=10ohm C=0.1F V=1V applied at t=0sec. Equation representing the system is
    RC (Vc)'+Vc=V, Get the values to the workspace and save as .mat file. Draw the model and response.
    Use ODE solver to compute and plot the solution of the equation given in Q4A.
    Write a function poly2rect for the conversion of polar form into rectangular form by inputting magnitude and angle.

    • @ProgrammerWorld
      @ProgrammerWorld  6 лет назад

      You can refer to me video at: ruclips.net/video/3igvjJr20Ws/видео.html
      In this video I have explained the steps to design the Mask for a subsystem block in Simulink. I have also shown the use of derivative block in Simulink in this video.

  • @SaquibSattar007
    @SaquibSattar007 6 лет назад

    The maximum height ‘h’ achieved by an object thrown with a speed ‘v’ at an angle ‘theta’ is given by h=v(sqr)*sin(theta)(sqr)/2g . Create a table showing the maximum height for the following values of v and theta. v=10 20, in steps of 2 and in steps of 10. Use suitable interpolation function to find ‘h’ corresponds to v=13 & 15 and theta = 55 to 65

    • @ProgrammerWorld
      @ProgrammerWorld  6 лет назад

      You can watch my this video: ruclips.net/video/LPc-OsU8gb4/видео.html
      I have shown the steps to interpolate using the interp1 function of matlab.

  • @rudranarayansamal4168
    @rudranarayansamal4168 5 лет назад +1

    very helpful video....you explained nicely

  • @siddharthbanerjee2816
    @siddharthbanerjee2816 3 года назад +1

    great video . ishq (x) ho gaya. (in jest)

  • @joshuapretorious5332
    @joshuapretorious5332 3 года назад +1

    Very helpful thankyou

  • @ArthreyaKrishnakumar
    @ArthreyaKrishnakumar 2 года назад +1

    How to set initial condition for the integrator block?

    • @ProgrammerWorld
      @ProgrammerWorld  2 года назад

      Double click the integrator block to open the block parameter dialog. Enter the value under the "Initial Conditions" option (1st option) in the dialog.
      Cheers
      Programmer World
      programmerworld.co
      -

  • @punkybhardwaj6742
    @punkybhardwaj6742 4 года назад +1

    Awsome sir

  • @mohammadhomaei6852
    @mohammadhomaei6852 2 года назад +1

    Thanks a lot

  • @Nimeshvaghasiya
    @Nimeshvaghasiya Месяц назад

    how to do multiple constant blocks for each 𝜁
    ζ value (e.g., 0.1, 0.5, 0.7, 1, and 3).

  • @ivantrigueros7573
    @ivantrigueros7573 3 года назад +1

    Thank you for the video Sir. I have a problem and I believe you can help me:
    I have done the exact same model starting from a blank page but the output shows repetitives waves instead of stabilizing waves. I have tried this in two different computers, obtainig the same wrong output. Do you have any clue on what is wrong?
    Thank you.

    • @ProgrammerWorld
      @ProgrammerWorld  3 года назад

      I will suggest to check the parameters of the 2nd order differential equation. They are the ones which determine the output waveform of your equation.
      If parameters value are same and solvers are also same (ODE45) then the output should be similar.
      Cheers
      Programmer World
      programmerworld.co/
      -

    • @ivantrigueros7573
      @ivantrigueros7573 3 года назад

      @@ProgrammerWorld Thank you for your fast answer.
      The parameters and the solver are the same as in your program... I used r2020a and r2020b, could the difference come from using other versions? (I am thinking of changes in the integrator or something similar).
      Need to add that the only explanation I found about why the same program gives different outputs is use a 64 bit version in a 32 bit OS, and I am not committing this error.

    • @ProgrammerWorld
      @ProgrammerWorld  3 года назад

      Solving a quadratic equation is a very basic mathematics. So, I don't think with the change of Matlab versions or OS architecture should impact the results. So, I don't think that those are the reasons for the anomaly in the results.
      Cheers
      Programmer World
      programmerworld.co
      -

  • @lucaspino8704
    @lucaspino8704 4 года назад +1

    thank you!

  • @sudhanshukapoor7199
    @sudhanshukapoor7199 2 года назад

    how we design third order differe ntial equation

    • @ProgrammerWorld
      @ProgrammerWorld  2 года назад

      For 3rd order, we may have to add one more integrator block to accommodate the differentiation in the equation. You can also post your complete equation in the below page, which may help us to design the model:
      programmerworld.co/simulink/how-to-design-differential-equation-2nd-order-in-simulink-matlab/
      Cheers
      Programmer World
      programmerworld.co
      -

  • @JonathanShiner-e8h
    @JonathanShiner-e8h 26 дней назад +1

    My goat

  • @shaikmabhujani988
    @shaikmabhujani988 3 года назад

    what about the initial conditions

    • @ProgrammerWorld
      @ProgrammerWorld  3 года назад

      Initial conditions of the equation can be set in the respective integrator blocks.
      Cheers
      Programmer World
      programmerworld.co/
      -

  • @zltn_brkl
    @zltn_brkl 6 лет назад +1

    Thanks

  • @shaikmabhujani988
    @shaikmabhujani988 3 года назад

    how can we give sin 50t

    • @ProgrammerWorld
      @ProgrammerWorld  3 года назад

      Change the gain block (preceding the sine block) parameter to 50/(2*pi).
      This will make the sin block as sin(50t).
      Cheers
      Programmer World
      programmerworld.co/
      -

  • @ollie1505
    @ollie1505 3 года назад

    how is this a 2018 video?! that is such an outdated version of windows

  • @SanthoshKumar-qg5vs
    @SanthoshKumar-qg5vs 2 года назад

    (d ^ 2 * x)/(d * t ^ 2) - k(1 - x) * (dx)/(dt) + x = d(t) can you for this sir

    • @ProgrammerWorld
      @ProgrammerWorld  2 года назад

      Solution to 3rd order equation is shown in the below page. It may help. Please refer.
      ruclips.net/video/rr6jo997xAM/видео.html
      programmerworld.co/matlab/how-to-design-a-3rd-order-differential-equation-in-both-matlab-script-and-simulink-model/
      Cheers
      Programmer World
      programmerworld.co
      -

  • @peterskovorodnikov8617
    @peterskovorodnikov8617 3 года назад

    YOU FORGOT INITIAL CONDITIONS

    • @ProgrammerWorld
      @ProgrammerWorld  2 года назад

      I think in the integrator block by default it will take the initial conditions for every state as 0 (if not specifically assigned).
      For reference, the complete details shown in this tutorial is also shared in the below link:
      programmerworld.co/simulink/how-to-design-differential-equation-2nd-order-in-simulink-matlab/
      Cheers
      Programmer World
      programmerworld.co
      -

  • @qianxitang7202
    @qianxitang7202 2 года назад +1

    hhhhhhelpful

  • @sultanasanaliev1280
    @sultanasanaliev1280 4 года назад +1

    Thanks

  • @AmitKumar-bz5gu
    @AmitKumar-bz5gu Год назад +1

    Thanks