In case it is helpful, here are all my Matlab videos in a single playlist ruclips.net/p/PLxdnSsBqCrrEU0dLSrTcl0-w9cVYKMTaF. Please let me know what you think in the comments. Thanks for watching!
Thanks for your video, it inspired me a lot. Moreover, I try it in dynamic control of 2-dof manipulator, of which the dynamic model includes nonlinear functions such as sine(theta2), cosine (theta2), thetadot1, thetadot2, and so on. But the results are not very good, I am very confused about whether the Simulink can be applied to the 2-dof dynamics simulation? I am looking forward to our further communication about the Simulink I did if it is convenient for you. My email address: xianyuanjie2020@gmail.com. I really hope to receive your reply. Thank you again!
Hello, i m begginer in matlab and i want learn ți make code in matlab and also ți learn simulink to sumulate differents schematics, for example the car engine. Do You have video for begginers?!
is there a way to implement a nonlinear state space equation? My professor wants us to take into consideration the nonlinearities of the system and wants us to design in state space but to be able to use the same feedback design from my linear model to a non linear model i need to have my nonlinear model in state equations i think so could i just have a nonlinear A and B , matrix ?
Sir, this video is so great. It is exactly what I was looking for. Your explanations are simple and understandable. I am 23 and just started with matlab few days ago. I watched few other videos before I ran on to you, those were not as nearly as good as yours. Stuff like this is the reason why I want to learn matlab. I am definitely going to watch all of your videos. Keep up with the good work. I would really like to see more videos like this. You are master at matlab, big thanks for sharing your knowledge with us.
[A E 501 student] Thank you Professor Lum. I have watched all your tutorials about ODE's and relevant techniques of Matlab and Simulink. I really appreciated the approaches you introduced to solve ODE's beyond the traditional methods. - CW
This was the best video by far that I'd seen. I was having trouble understanding how all of these models relate to each other, especially the transfer function. Thanks my friend :)
Hi, Thanks for the kind words, I'm glad you enjoyed the video. If the find the these videos to be helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching! -Chris
This is a great refresher on state space; I remember learning it in my controls and dynamics system course back in undergrad and didn't get a full grasp of it. However, this video clarifies it a lot on top of modelling it. Great content.
This video is so easy to follow that only in a few minutes I was able to model a MDoF system of 4 masses and obtain the results of displacements for each mass. The results match perfectly with the solution obtained using the Newmark beta method. Now I will continue trying something more complex. Thank you very much. This video was very helpful.
I'm glad it was helpful. There are other similar videos on the channel, please feel free to check them out and let me know what you think. Thanks for watching!
Hi Stalin could you plz help me solve the following equation in Simulink: 4mu''+15cu'+3ku=12cz' How to give these variables and how to give 2nd order input in simulink
that was the most interesting and helpful matLAB class with examples i've ever seen, congrats for your great job, you will help a lot of engineering students with these videos!
Thanks, I'm glad it was helpful. This is one of series of videos talking about how to use Matlab and Simulink for controls engineering. Please feel free to check out the other videos and please let me know what you think in the comments. Thanks for watching!
If I were my professor, I would just play this video in my class. For a 75 mins class meeting, I still have 30 mins to answer student questions or do some more examples. This video is amazing. We covered everything you mentioned in this video but I did not really understand the relationship between transfer function and the everything else.
AE501: Having never used Simulink prior to joining UW, this video and the previous intro video were incredibly helpful to understand it and how great a tool it can be.
AA516: Thank you for this tutorial Professor! I had only minimal exposure to simulink before this video and the previous tutorial video. Now, I am pretty confident on navigating through simulink.
AE 501: This was such an amazing explanation of the basics of Simulink. I was intimidated by block diagrams before, but your clear explanations make them very easy to understand. Thank you prof!
Really helpful video. It really helped my understanding of the different options available with Simulink when you modeled the same system in three different block diagrams, and showed the same output from each.
AE501 - I have only used simulink for electrical engineering coursework before, but I did not know how to use simulink for a variety of applications outside of EE. Great video as always!
AE501 - I like how intuitive it is to model an ODE in Simulink. The examples showing the limitations of modeling a system as linear and using a transfer function when the initial conditions were non-zero were also very good
I'm glad it was helpful. There are other similar videos on the channel, please feel free to check them out and let me know what you think. Thanks for watching!
AE 501: I only used the transfer function block in undergrad, but I really like the state space block approach! seeing all graphs map to the same graph as well was useful since now we can use whatever approach is easiest for the problems we are given
Hi, Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. I can also answer any questions, provide code, notes, downloads, etc. on Patreon. Thanks for watching! -Chris
AE501: Where were you during my undergrad days when I just assumed everything was linear because otherwise it became too difficult?? The demonstration of the uselessness of how keeping it linear with the small angle approximation at ~42 minutes is phenomenal.
AE501- Ive taken many Simulink courses years ago, you make this seem way easier than when I first put these tools into the toolbox. Thanks! Now If i can model this spring pulley mass system in the HW as easy as you made it seem in Simulink...
The HW problem is a similar situation but the equations are just a little more cumbersome but hopefully the idea is the same. Let me know if you encounter any issues with the hw.
AE501: For these we make the equation equal to the second derivative. The HW problem is talking about solving for delta (deflection) from the unloaded position to loaded position. Does that mean we are doing something different there by making the equation equal to x(t) instead of x''(t)? A bit confused there.
AE501. Great video and was very helpful to finish the HW 2 and hopefully HW3. I like that simulink gives you options as to how the user wants to approach the numerical calculations. Thanks for the vid!
Just wanted to see how this could be done by leaving all the parameters in the Simulink block diagram as variables which get initialized in a matlab driver. I know gain blocks would come handy but how would I combine (1/ml^2)T(t) and connect to the positive of the sum block?
AE501: I am not understanding how the C and D vectors are the given values. Are they arbitrarily given as [0 1] and [0]? Does the output y_bar(t) always have the form Cx(t) + Du(t)? - Natalia Ermolaeva
AE501 Tuan Tran: Thank you for a great video. This is very good intro as I never used Simulink before. Also, it is a good tool to solve for the system response numerically.
The video is presented in a very lucid manner, aiding clear understanding from the learner point of view. I am presently having difficulty in solving a system of ODE equations that are HIGHLY COUPLED and NONLINEAR with transcendental terms. Kindly suggest me link(s) of your YT videos or any other good resource for the same. I earnestly expect your response. Thanks.
Miles, good question. The default setting is to indeed use ode45 behind the scenes but you can change this to whatever numerical system Matlab supports. We'll talk more about this later in class.
What if i connect theta_double_dot to other equations. What if i get algebraic loop error and I don't want memory,unit delay to connect. Is there any solution to the problem.
In case it is helpful, here are all my Matlab videos in a single playlist ruclips.net/p/PLxdnSsBqCrrEU0dLSrTcl0-w9cVYKMTaF. Please let me know what you think in the comments. Thanks for watching!
Thanks for your video, it inspired me a lot. Moreover, I try it in dynamic control of 2-dof manipulator, of which the dynamic model includes nonlinear functions such as sine(theta2), cosine (theta2), thetadot1, thetadot2, and so on. But the results are not very good, I am very confused about whether the Simulink can be applied to the 2-dof dynamics simulation? I am looking forward to our further communication about the Simulink I did if it is convenient for you. My email address: xianyuanjie2020@gmail.com. I really hope to receive your reply. Thank you again!
Hello, i m begginer in matlab and i want learn ți make code in matlab and also ți learn simulink to sumulate differents schematics, for example the car engine.
Do You have video for begginers?!
is there a way to implement a nonlinear state space equation? My professor wants us to take into consideration the nonlinearities of the system and wants us to design in state space but to be able to use the same feedback design from my linear model to a non linear model i need to have my nonlinear model in state equations i think so could i just have a nonlinear A and B , matrix ?
Sir, this video is so great. It is exactly what I was looking for. Your explanations are simple and understandable. I am 23 and just started with matlab few days ago. I watched few other videos before I ran on to you, those were not as nearly as good as yours. Stuff like this is the reason why I want to learn matlab. I am definitely going to watch all of your videos. Keep up with the good work. I would really like to see more videos like this. You are master at matlab, big thanks for sharing your knowledge with us.
I'm glad it was helpful. There are other similar videos on the channel please feel free to check them out. Thanks for watching
[A E 501 student] Thank you Professor Lum. I have watched all your tutorials about ODE's and relevant techniques of Matlab and Simulink. I really appreciated the approaches you introduced to solve ODE's beyond the traditional methods. - CW
Thank you for sharing. Well explaination. I wish my professor get out of the classroom and just play your videos.
This was the best video by far that I'd seen. I was having trouble understanding how all of these models relate to each other, especially the transfer function.
Thanks my friend :)
Hi,
Thanks for the kind words, I'm glad you enjoyed the video. If the find the these videos to be helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. Thanks for watching!
-Chris
This is a great refresher on state space; I remember learning it in my controls and dynamics system course back in undergrad and didn't get a full grasp of it. However, this video clarifies it a lot on top of modelling it. Great content.
This video is so easy to follow that only in a few minutes I was able to model a MDoF system of 4 masses and obtain the results of displacements for each mass. The results match perfectly with the solution obtained using the Newmark beta method.
Now I will continue trying something more complex.
Thank you very much. This video was very helpful.
I'm glad it was helpful. There are other similar videos on the channel, please feel free to check them out and let me know what you think. Thanks for watching!
Hi Stalin could you plz help me solve the following equation in Simulink: 4mu''+15cu'+3ku=12cz'
How to give these variables and how to give 2nd order input in simulink
that was the most interesting and helpful matLAB class with examples i've ever seen, congrats for your great job, you will help a lot of engineering students with these videos!
Thanks, I'm glad it was helpful. This is one of series of videos talking about how to use Matlab and Simulink for controls engineering. Please feel free to check out the other videos and please let me know what you think in the comments. Thanks for watching!
You have made this incredibly practical and educational!
I'm glad it was useful, thanks for watching!
If I were my professor, I would just play this video in my class. For a 75 mins class meeting, I still have 30 mins to answer student questions or do some more examples. This video is amazing. We covered everything you mentioned in this video but I did not really understand the relationship between transfer function and the everything else.
I'm glad it was helpful thanks for watching! There are other controls videos on the channel, please check them out.
AE501: Having never used Simulink prior to joining UW, this video and the previous intro video were incredibly helpful to understand it and how great a tool it can be.
Glad it helped, Simulink is a powerful tool once you get the hang of it!
The side by side comparison is very helpful. Good video to help understand how to implement simulink.
AA516: Thank you for this tutorial Professor! I had only minimal exposure to simulink before this video and the previous tutorial video. Now, I am pretty confident on navigating through simulink.
This is a helpful video to visualize the differences between a linear and non-linear model! Thanks Chris!
AE 501: This was such an amazing explanation of the basics of Simulink. I was intimidated by block diagrams before, but your clear explanations make them very easy to understand. Thank you prof!
Glad to hear it, Simulink is a powerful tool once you get the hang of it!
Really helpful video. It really helped my understanding of the different options available with Simulink when you modeled the same system in three different block diagrams, and showed the same output from each.
AE 501: this was most helpful for the homework and it’s actually fun seeing the different outputs you can get with the ode models
Great video. I love how simple it was to implement non-linear behavior
Definitely going to watch this one again to make sure it sinks in.
AE501 - I have only used simulink for electrical engineering coursework before, but I did not know how to use simulink for a variety of applications outside of EE. Great video as always!
I really enjoyed this video. I have never implemented a state space or transfer function in Simulink so I found this video very useful. Thank you.
Very easy to understand. A great resource for solving ODE's via Simulink.
AE501 - I like how intuitive it is to model an ODE in Simulink. The examples showing the limitations of modeling a system as linear and using a transfer function when the initial conditions were non-zero were also very good
Totally worth every minute. Superb video
This is so good video I have seen so far for simulink and working with differential equation
I'm glad it was helpful. There are other similar videos on the channel, please feel free to check them out and let me know what you think. Thanks for watching!
AE 501: Thank you for this example, it was really helpful for reminding me the Simulink workflow
AE 501: I only used the transfer function block in undergrad, but I really like the state space block approach! seeing all graphs map to the same graph as well was useful since now we can use whatever approach is easiest for the problems we are given
I’ve always had trouble solving ODEs with Simulink especially with state space representation but this video really helped me out a lot!!
-Lien
Shows different methods to model a system. Super useful !
I found everything i wanted to know about state space in matlab from ur video. Thank you.
You are most welcome
AE511: thanks for referring my mind about the Simulink, it's so helpful.
Excellent video and the practical examples are especially helpful! Thanks!
A great video to learn how to implement an ODE in Simulink.
Wow! I feel like my friend Simulink and I got coffee together and I learned more about her and what she does! Very cool
thank you soooooooo much it helped a lot in my bachelor thesis. thanks once again
AE501: Great refresher of using Simulink for ODEs! Simulink was vague back in undergrad, hoping to use it more soon!
Glad you found it helpful, Simulink is a fun tool to play around with!
A very effective tool for rapidly modeling ODEs. Thank you for the tutorial!
Definitely a great video to visualize these systems. Thank you!
Reviewed again for AE511 - Thank you!
Including a full example definitely makes this easier to understand and follow
AE501: Really good video and easy to follow. I have not used Simulink for awhile so this is great
I'm glad it was helpful, Simulink is a fun tool to play around with and I hope you enjoyed it.
AE 501 My emplyer uses simulink to solve complex free body diagrams and this was a good video into understanding the concept and use of it
It's helpful to see this via a concrete example in terms of how to model and the like.
AE501: Very interesting example with the pendulum. Very helpful for ODE in Simulink!
I’m new to state space, but I think is a pretty cool tool for linear systems and simulink is just very powerful for non-linear systems.
Great. This is a great way to get started building an inverted pendulum controller
Ae501 : Wow that was thorough!
Another great tutorial on solving ODE's with simulink!
Great video you saved my control systems homework
Hi,
Thanks for the kind words, I'm glad you enjoyed the video. If you find these videos helpful, I hope you'll consider supporting the channel via Patreon at www.patreon.com/christopherwlum or via the 'Thanks' button underneath the video. Given your interest in this topic, I'd love to have you a as a Patron as I'm able to talk/interact personally with all Patrons. I can also answer any questions, provide code, notes, downloads, etc. on Patreon. Thanks for watching!
-Chris
please continue this series..your videos are very helpful
AE501: Where were you during my undergrad days when I just assumed everything was linear because otherwise it became too difficult?? The demonstration of the uselessness of how keeping it linear with the small angle approximation at ~42 minutes is phenomenal.
Beni, I'm glad it was enlightening. Just wait until we do some more interesting stuff with Simulink in the near future.
AA516: Easy to follow, cool to see comparison between different approaches!
it was really great and helped me visualize all these concepts very well, I'm gonna show this to my friends too!
Great intro to modelling ODE's
great info, the side by side comparison of the different representations is very helpful thanks.
Thanks for the video, I really enjoy the practicality of Simulink!
Great video explaining modeling ODEs in Simulink
Good demonstration on using Simulink to solve ODE's
AE501- Ive taken many Simulink courses years ago, you make this seem way easier than when I first put these tools into the toolbox. Thanks! Now If i can model this spring pulley mass system in the HW as easy as you made it seem in Simulink...
The HW problem is a similar situation but the equations are just a little more cumbersome but hopefully the idea is the same. Let me know if you encounter any issues with the hw.
That's a lot of new information to take in. Thanks!
AE501: For these we make the equation equal to the second derivative. The HW problem is talking about solving for delta (deflection) from the unloaded position to loaded position. Does that mean we are doing something different there by making the equation equal to x(t) instead of x''(t)? A bit confused there.
Thank you for video, I'm still trying to figure it out how to use simulink and getting to understand little bit right now.
Thanks
Sam
first time using simulink, i love it
Practical examples are very helpful. Thanks.
AE501. Great video and was very helpful to finish the HW 2 and hopefully HW3. I like that simulink gives you options as to how the user wants to approach the numerical calculations. Thanks for the vid!
do blocks that reside inside of a loop change the way they function from if they were outside?
Great explanation of initial conditions of nonlinear ODEs
Do you have any thoughts on Modelica and associated IDEs like Dymola?
A great follow up to the classic ”Matlab06”!
Very nice video, love the various ways of implementing the model
Thank you for these tutorials, they are very helpful!
Good followup video on Simulink. Thanks!
Great explanation to modeling these systems, very helpful!
Thank you so much for this perfect tutorial.
A lot of information to take in, but it was really helpful to see the system drawn out.
Just wanted to see how this could be done by leaving all the parameters in the Simulink block diagram as variables which get initialized in a matlab driver.
I know gain blocks would come handy but how would I combine (1/ml^2)T(t) and connect to the positive of the sum block?
AE501: I am not understanding how the C and D vectors are the given values. Are they arbitrarily given as [0 1] and [0]?
Does the output y_bar(t) always have the form Cx(t) + Du(t)? - Natalia Ermolaeva
How we can use the signal saved in to workspace to use it fromwork space as input signal
You show some small tricks here that I didn't know about. Thanks
Beautifully explained
how do you implement the initial or boundary conditions?
AE501 Tuan Tran: Thank you for a great video. This is very good intro as I never used Simulink before. Also, it is a good tool to solve for the system response numerically.
Excellent video, sir!
Simulink is great at quickly solving and displaying these ODEs.
What if need to solve some 150 simultaneous ordinary differential equations in simulink ?
Do I need to draw them all ?
Concise and easy to follow
Great Video Chris! Thank you
Good examples. Easy to follow.
Thank you for the video. Very helpful.
Amazing tutorial, thank you sir.
wow simulink is clearly very powerful when considering non-linear systems!
Excellent explanation
Thank you very much for this great work
The video is presented in a very lucid manner, aiding clear understanding from the learner point of view. I am presently having difficulty in solving a system of ODE equations that are HIGHLY COUPLED and NONLINEAR with transcendental terms. Kindly suggest me link(s) of your YT videos or any other good resource for the same. I earnestly expect your response. Thanks.
AA 516: Does simulink use ode45 as a default to solve the ODEs that we worked through in the video?
Miles, good question. The default setting is to indeed use ode45 behind the scenes but you can change this to whatever numerical system Matlab supports. We'll talk more about this later in class.
Enjoying Simulink so far
Thanks for the video! It was very helpful.
What if i connect theta_double_dot to other equations. What if i get algebraic loop error and I don't want memory,unit delay to connect. Is there any solution to the problem.
AE501: Is it possible to input initial conditions into the ODE Simulink model?
Absolutely, you'll need to set the initial condition/outputs of all the integrators in the model.
Thank you so much for the video. but there is need to have it offline for proper udestanding
Great demos!