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

แชร์
ฝัง
  • เผยแพร่เมื่อ 11 ก.ย. 2024

ความคิดเห็น • 42

  • @salimamansoura7838
    @salimamansoura7838 3 ปีที่แล้ว +15

    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 !!

  • @user-un9ej7th6j
    @user-un9ej7th6j 11 หลายเดือนก่อน +1

    Very well explained helps dearly with my masters degree!

  • @AndrzejAAn
    @AndrzejAAn 3 ปีที่แล้ว +3

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

  • @user-rq9uj1no2u
    @user-rq9uj1no2u 11 หลายเดือนก่อน +1

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

  • @cnavarrete1999
    @cnavarrete1999 3 ปีที่แล้ว +2

    Thank you sir. You really helped me

  • @siddharthbanerjee2816
    @siddharthbanerjee2816 3 ปีที่แล้ว +1

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

  • @AmitKumar-bz5gu
    @AmitKumar-bz5gu 11 หลายเดือนก่อน +1

    Thanks

  • @rudranarayansamal4168
    @rudranarayansamal4168 4 ปีที่แล้ว +1

    very helpful video....you explained nicely

  • @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 :
      th-cam.com/video/D0co7PoclKk/w-d-xo.html

  • @joshuapretorious5332
    @joshuapretorious5332 3 ปีที่แล้ว +1

    Very helpful thankyou

  • @punkybhardwaj6742
    @punkybhardwaj6742 4 ปีที่แล้ว +1

    Awsome sir

  • @mohammadhomaei6852
    @mohammadhomaei6852 2 ปีที่แล้ว +1

    Thanks a lot

  • @ArthreyaKrishnakumar
    @ArthreyaKrishnakumar ปีที่แล้ว +1

    How to set initial condition for the integrator block?

    • @ProgrammerWorld
      @ProgrammerWorld  ปีที่แล้ว

      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
      -

  • @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: th-cam.com/video/LPc-OsU8gb4/w-d-xo.html
      I have shown the steps to interpolate using the interp1 function of matlab.

  • @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: th-cam.com/video/3igvjJr20Ws/w-d-xo.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.

  • @lucaspino8704
    @lucaspino8704 4 ปีที่แล้ว +1

    thank you!

  • @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
      -

  • @ollie1505
    @ollie1505 3 ปีที่แล้ว

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

  • @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/
      -

  • @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
      -

  • @SanthoshKumar-qg5vs
    @SanthoshKumar-qg5vs ปีที่แล้ว

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

    • @ProgrammerWorld
      @ProgrammerWorld  ปีที่แล้ว

      Solution to 3rd order equation is shown in the below page. It may help. Please refer.
      th-cam.com/video/rr6jo997xAM/w-d-xo.html
      programmerworld.co/matlab/how-to-design-a-3rd-order-differential-equation-in-both-matlab-script-and-simulink-model/
      Cheers
      Programmer World
      programmerworld.co
      -

  • @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/
      -

  • @peterskovorodnikov8617
    @peterskovorodnikov8617 2 ปีที่แล้ว

    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 3 ปีที่แล้ว +1

    Thanks

  • @zltn_brkl
    @zltn_brkl 5 ปีที่แล้ว +1

    Thanks