Here you can find all the code: github.com/jousefm/ModelingAndSimulation - let me know if this video helped you and what application you are solving with ode45! 🎓 My Science Courses - courses.jousefmurad.com/ ✍️ Latest blog posts: jousefmurad.com 📥 My Newsletter - jousef.substack.com/
Great stuff, please do a quarter car and half car model. it would be amazing to find out using an if statement can you for loop and find the correct damping for a critically damped system.
Thanks mate! Yes I do but the potential of being banned is quite high, got banned in 2 subreddits. If I were you I would give it a try in the ML/DL/RL subreddits. I will give a shoutout to your channel once I have the time to create a beginner‘s guide to machine learning/RL! Or you create one beforehand yourself 🙂😉
Thanks for the video, first time I managed to create such a thing in Matlab. But how can I create a sine wave as force input, so that f=sin(t) for example?
Hi. Thanks for your video. However, I visited your website "engineered mind". It says Page is under construction - great stuff coming soon!. When will it be back online?
Hey and thanks for asking :) will slowly build it in the coming weeks and make it more „bloggy“ to educate more and make it more user friendly. Stay tuned!
Nice work!!! In the case of a harmonic displacement for the same mass-spring-damper SDOF model where the goal would be to find the generated force due to the harmonic displacement. Do you have some recommendations to carry out such a case?
@@JousefM Nice work!! I Wonder if it is possible to have an force varying in time (time series, not described for a fubction). Is it possible? How would it be in code?
Thanks for your comment! Sure, I can :) currently working on something else but feel free to subscribe and activate the notification bell to stay up-to-date with the latest uploads Nik!
Just give it a try with 2x2 and see what error it throws. Always use the workspace to see what dimensions you’re working with and if these even make sense. „Debugging“ using the workspace is very helpful sometimes.
I have a similar question to this one, however, I need to find the force (force * acceleration), so I need to find the acceleration of the mass, how would I be able to do it?
Hey Malik! The mass was included as the small parameter m but not gravity as you might have seen. But you could include it of course - the equation would look slightly different :)
You're welcome! This should help: vortarus.com/creating-a-vibration-transmissibility-plot/ - the formulas are straightforward, simply put them into MATLAB and let it do the job, :)
@@JousefM Thanks so much but I tried plotting damped force transmissibility but it didn't work :-{. But I think i found a solution from a textbook I found. Thanks anyways!
Here you can find all the code: github.com/jousefm/ModelingAndSimulation - let me know if this video helped you and what application you are solving with ode45!
🎓 My Science Courses - courses.jousefmurad.com/
✍️ Latest blog posts: jousefmurad.com
📥 My Newsletter - jousef.substack.com/
Good.
thanks
sorry, function "[T,Y] = ode45(@StateSpaceForm, Time, IC, SolverOptions, m, d, c, f);" is not working. why ?
Is your function even called StateSpaceForm? Also name the file for the function the same!
@@JousefM no. name function is ode45.
This video and the blog post instructions were so helpful and insightful. Thank you for making them!
Thank you so much!!
Great stuff, please do a quarter car and half car model. it would be amazing to find out using an if statement can you for loop and find the correct damping for a critically damped system.
Channel's blowing up! Congrats man. You posting these to reddit?
Thanks mate! Yes I do but the potential of being banned is quite high, got banned in 2 subreddits. If I were you I would give it a try in the ML/DL/RL subreddits. I will give a shoutout to your channel once I have the time to create a beginner‘s guide to machine learning/RL! Or you create one beforehand yourself 🙂😉
Thanks for the video, first time I managed to create such a thing in Matlab.
But how can I create a sine wave as force input, so that f=sin(t) for example?
Nice!
Nice work! I Wonder if it is possible to use external forces changing in time, but randomly like in time series? e.g. F(t) = [10 3 -10...]
Weekly Regelungstechnik practice when the entire class was shaking with fear
I feel you 😄
How can I plot for acceleration vs time
Niceee, how can i extrapolate the last value of ode45? like as y(end,1) ??? thanks
kindly do 2-dof...soon sir...it will be helpfull
Working on it at the moment, should hopefully be done soon.
Hi. Thanks for your video. However, I visited your website "engineered mind". It says Page is under construction - great stuff coming soon!. When will it be back online?
Hey and thanks for asking :) will slowly build it in the coming weeks and make it more „bloggy“ to educate more and make it more user friendly. Stay tuned!
Nice work!!! In the case of a harmonic displacement for the same mass-spring-damper SDOF model where the goal would be to find the generated force due to the harmonic displacement. Do you have some recommendations to carry out such a case?
Does that help? www.mathworks.com/help/symbolic/examples/physics-damped-harmonic-oscillator.html :)
@@JousefM Nice work!! I Wonder if it is possible to have an force varying in time (time series, not described for a fubction). Is it possible? How would it be in code?
Hi, thanks for this video! Can you do a system with 2 masses? I would really appreciate it!
Thanks for your comment! Sure, I can :) currently working on something else but feel free to subscribe and activate the notification bell to stay up-to-date with the latest uploads Nik!
Hai sir, video is really good.... ca u pls explain how to solve for 2-DOF systems with damped forced vibrations.... thanks in advance
Maybe in the future! Stay tuned :)
@@JousefM Thanks for your response sir, if u do within a few days really is helpful for me... thanks in advance
thanku very much for your videos , if mass matrix is having 2x2 size, how can apply this code?? can u pls explain this
Just give it a try with 2x2 and see what error it throws. Always use the workspace to see what dimensions you’re working with and if these even make sense. „Debugging“ using the workspace is very helpful sometimes.
@@JousefM thanku sir, i will try this
Is ODE45 a runge kutta method? I know that it is adaptive, so it's not the standard runge kutta 4th
Yes, this is Runge-Kutta!
I have a similar question to this one, however, I need to find the force (force * acceleration), so I need to find the acceleration of the mass, how would I be able to do it?
You can plot and calculate the acceleration as shown in the video. If you only have the velocity take the derivative
hi i also want to draw acceleration vs time and R.M.S acceleration and frequency plots ..can you help me out
why did you not include the weight (mg) in your diff. eq. ? Kindly tell
Hey Malik!
The mass was included as the small parameter m but not gravity as you might have seen. But you could include it of course - the equation would look slightly different :)
@@JousefM thank you
Hey man thanks for the video! Also, would you know how to plot the force transmissibility of the 1 DOF system on matlab? Thanks.
You're welcome! This should help: vortarus.com/creating-a-vibration-transmissibility-plot/ - the formulas are straightforward, simply put them into MATLAB and let it do the job, :)
@@JousefM Thanks so much but I tried plotting damped force transmissibility but it didn't work :-{. But I think i found a solution from a textbook I found. Thanks anyways!
hi. where did u take initial conditions?
Initial Conditions are indicated by „IC“ in the Video - Hope That helps! :)