No video

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

  Рет қаралды 56,198

Programmer World

Programmer World

Күн бұрын

Пікірлер: 42
@salimamansoura7838
@salimamansoura7838 3 жыл бұрын
May God reward you for all your efforts and all the valuable information that you provide us smoothly .
@timothysands5537
@timothysands5537 Жыл бұрын
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 11 ай бұрын
Thank you so much for this video, actually I don't have any basic knowledge about Matlab ,this made me simulink work
@victorakeloe
@victorakeloe 2 жыл бұрын
Thanks so much, I'm ready for my matlab exams this afternoon
@user-un9ej7th6j
@user-un9ej7th6j 11 ай бұрын
Very well explained helps dearly with my masters degree!
@moonofearth
@moonofearth 4 жыл бұрын
Thank You Sir,,,, Very Helpful video,,,Explained in a easy way !!
@user-rq9uj1no2u
@user-rq9uj1no2u 10 ай бұрын
u explained well sir. very informative video. thank you sir
@AndrzejAAn
@AndrzejAAn 3 жыл бұрын
thank you so much !!!! finally I understood that
@cnavarrete1999
@cnavarrete1999 3 жыл бұрын
Thank you sir. You really helped me
@rudranarayansamal4168
@rudranarayansamal4168 4 жыл бұрын
very helpful video....you explained nicely
@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: kzbin.info/www/bejne/aZrKp52Ap5djjdU 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.
@siddharthbanerjee2816
@siddharthbanerjee2816 3 жыл бұрын
great video . ishq (x) ho gaya. (in jest)
@soutrikband
@soutrikband 5 жыл бұрын
How do you take care of the initial conditions ?
@ProgrammerWorld
@ProgrammerWorld 5 жыл бұрын
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 : kzbin.info/www/bejne/emHGoGqGpMifgc0
@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: kzbin.info/www/bejne/goHGXoKpip2amJY I have shown the steps to interpolate using the interp1 function of matlab.
@ArthreyaKrishnakumar
@ArthreyaKrishnakumar Жыл бұрын
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 -
@joshuapretorious5332
@joshuapretorious5332 3 жыл бұрын
Very helpful thankyou
@punkybhardwaj6742
@punkybhardwaj6742 4 жыл бұрын
Awsome sir
@AmitKumar-bz5gu
@AmitKumar-bz5gu 10 ай бұрын
Thanks
@ivantrigueros7573
@ivantrigueros7573 3 жыл бұрын
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 -
@mohammadhomaei6852
@mohammadhomaei6852 2 жыл бұрын
Thanks a lot
@lucaspino8704
@lucaspino8704 4 жыл бұрын
thank you!
@ollie1505
@ollie1505 3 жыл бұрын
how is this a 2018 video?! that is such an outdated version of windows
@sudhanshukapoor7199
@sudhanshukapoor7199 2 жыл бұрын
how we design third order differe ntial equation
@ProgrammerWorld
@ProgrammerWorld Жыл бұрын
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. kzbin.info/www/bejne/qKOZm6Jvbpyrd68 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 жыл бұрын
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/ -
@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 жыл бұрын
hhhhhhelpful
@sultanasanaliev1280
@sultanasanaliev1280 3 жыл бұрын
Thanks
@zltn_brkl
@zltn_brkl 5 жыл бұрын
Thanks
Interpolation using interp function in MATLAB
8:34
Programmer World
Рет қаралды 2,2 М.
Ordinary Differential Equations and Dynamic Systems in Simulink
44:58
Christopher Lum
Рет қаралды 77 М.
КАКУЮ ДВЕРЬ ВЫБРАТЬ? 😂 #Shorts
00:45
НУБАСТЕР
Рет қаралды 3,5 МЛН
Пройди игру и получи 5 чупа-чупсов (2024)
00:49
Екатерина Ковалева
Рет қаралды 4,3 МЛН
Matlab Simulink: How To Solve Differential Equations
8:24
Laplace Academy
Рет қаралды 10 М.
How to Solve Differential Equations in PYTHON
23:37
Mr. P Solver
Рет қаралды 101 М.
Solving Differential Equations in Matlab Simulink
7:37
Eng. Radfan Ojailah
Рет қаралды 34 М.
Simulink Quick Start for Student Competition Teams
19:28
MATLAB
Рет қаралды 101 М.
ME 340: Example, Solving ODEs using MATLAB's ode45 command
7:15
CPPMechEngTutorials
Рет қаралды 263 М.
Simulink Tutorial - 06 : how to design for loop in Simulink?
13:18
Embedded Simulink Tutorial
Рет қаралды 6 М.
Solving ODEs of a 3D nonlinear chaotic system in Simulink
10:26
Dr Manashita Borah
Рет қаралды 8 М.
Simulink 101: Solving A Differential Equation
5:02
Mariam Alshamsi
Рет қаралды 144 М.
Solve Differential Equations in MATLAB and Simulink
21:06
APMonitor.com
Рет қаралды 404 М.