Is it possible to have your email to ask a few questions? or If I can have the code to understand things better
@teny23810 ай бұрын
That Wynaut reference caught me off guard 😅
@refilweramahlo8532 Жыл бұрын
Error using sym/cat>checkDimensions CAT arguments dimensions not consistent. Error in sym/cat>catMany (line 33) [resz, ranges] = checkDimensions(sz,dim); Error in sym/cat (line 25) ySym = catMany(dim, args); Error in sym/vertcat (line 19) ySym = cat(1,args{:});
@mathunt1130 Жыл бұрын
It's better if you do a beamer document and then talk using that.
@anthonyheak3479 Жыл бұрын
Excellent video! Thanks
@anthonyheak3479 Жыл бұрын
Great ode45 tutorial. Thanks for making the video!
@anthonyheak3479 Жыл бұрын
Great video, thanks!
@kasranosratpour6450 Жыл бұрын
Not one of the best; The best tutorial of ode 45 found on KZbin. Thanks 🍻🤝
@FlyingBeesQuotes2023 Жыл бұрын
Really helpful video. Can you repeat the same with python ?. Which will be really beneficial for those who are doing mathematical modelling with Matlab & python.
@willnewcomer21252 жыл бұрын
Lifesaver with these videos man! I'm 5+ years away from using Matlab only primitively and have to solve a 5D system for work!
@yt_guaguagua51982 жыл бұрын
May I ask some questions by email?
@sonlehathanh57162 жыл бұрын
Hi man, please let me know how to compute x''. Extract from Sdot={x',x''}. Sorry my English is not really good if you cant catch my mean.
@youssefelmahjoubi82782 жыл бұрын
thank you so much sir you help me
@dallasdominguez22242 жыл бұрын
Excellent explanation my friend. Thank you for taking the time to make this!
@elvesun2 жыл бұрын
I am very thankful to you
@adib98182 жыл бұрын
love how tired you are
@user-oh3kt7ki1l2 жыл бұрын
Great video, thank you so much for wonderful explanation, and generous details
@chibuikeokekeogbu80222 жыл бұрын
I've seen several videos but this STANDS OUT!!! Thank you
@jaylive993 жыл бұрын
This is so f'n nice.. Thanx a bunch!! :D
@user-kl1xv8in2q3 жыл бұрын
YOU ARE MASTER. YOUR LESSON IS EXACTLY WHAT I NEED. THANK YOU SO MUCH!!
@pedrocalorio16553 жыл бұрын
This method only works for linear systems? i.e., the matrices M, C and K MUST BE CONSTANTS right?
@srisankar28983 жыл бұрын
I want to become a good programmer like you, give me some suggestions regarding that.
@wowthatsveryawesome3 жыл бұрын
amazing job at explaining! thanks so much
@bronktug24463 жыл бұрын
Hi, what do you do if the state vector contains matrix terms like a mass or stiffness matrix?
@mitsoskavelos3 жыл бұрын
Hello and thank you for such an informative video! It would be a huge help if you could enlighten me a little bit with the followin issue I have: I want to solve (and sketch the phase portrait) on a system using ode45. The problem I face is that the x2dot = V-4N(x1)-x2 where N(x1) is a piecewise function with N(x1) = x1 when x1< -0.2 or x1 > 0.2 , and N(x1) = a*x1 when -0.2<x1<0.2 . Should I use the events function to run ode45 for each interval or it is correct if I simply write an odefun where I give x2dot values according to x1 values (using IF statements) ? This discontinuity seems to produce odd results and I am somehow lost.
@kathiresansivakumar1398 Жыл бұрын
have you solved PWL included in system????
@mohanmustafa3 жыл бұрын
Thank you so much.
@xaler5293 жыл бұрын
pozdro z imiru psycha nie siada nawet na mechanics 2 i control theory fundamentals pozdro
@shabinaa64073 жыл бұрын
can anyone explain ode for hodgkin and huxley model ? please ..
@jorgemercent29953 жыл бұрын
You should really go into about state vectors, it is so confusing if you skip all those!
@jorgemercent29953 жыл бұрын
could you just define what on earth are state vectors and state variables????
@Al-ju7th3 жыл бұрын
He literally clearly explains it, did you even watch the video?
@jorgemercent29953 жыл бұрын
@@Al-ju7th No he did not, he made passing mention. Do you have the timestamp?
@jorgemercent29953 жыл бұрын
I am fucking lost at the state blahbablh what ever that is
@elcamnino73 жыл бұрын
Do you always have to call out the function in the Command Window, or are you able to just hit 'Run' in one of the versions, or set it up such that you can hit 'Run'?
@mohanadsayedoraby75343 жыл бұрын
Wonderful explanation. Thank you very much.
@peetkumarghosh56193 жыл бұрын
for those the second method is not working try this [time, state_values] = ode45(@g,[1,30],[1,0]); x = state_values(:,1); xdot = state_values(:,2); figure(1) plot(time,x) function sdot = g(t,s) % [s] = [s(1) s(2)] = [s1, s2] = [x, xdot] sdot = [s(2); (5- s(2)*sin(t) - s(1)*exp(t))/t^2]; end
@EdgeSlice4 жыл бұрын
This was a very good video. It was exactly what I was looking for!
@lahbibbenahmadi39554 жыл бұрын
Thank you very much for the best explation, I need your help please if possible I the extract individual values part when I write ( x = state_values(:1);) I get this message : Invalid syntax at '1' I use all your steps but I stopped in this problem if you want to share the code to verify I will , thank you very much
@ShareInfos5163 жыл бұрын
You need a semi colon right before 1, x = state_values(: ,1);
@tz66154 жыл бұрын
Man, you are the hero! I have watched so many videos about this, but yours is the only one that lead me to the right direction! Thank you so much!
@shalipse4 жыл бұрын
Very helpful. Thank you sir I will be grateful if you can do state space model for a thermodynamics system
@pirispistopa4 жыл бұрын
hi there, I would like to know how you can solve your ODE if the forces also depend on the state values? thanks for the videos
@akshayram29444 жыл бұрын
Thanks for this video sir, If we have a non linearity in the system then how should i consider my function? Whether the Ode45 solver updates the value for every time interval?
@gaurangchhapia18214 жыл бұрын
Hey, thanks for making this video ,if possible could you tell me where to find this document?
@marrsbar50404 жыл бұрын
How would I define a value of xdot at a certain x value as a variable???
@shreyasvalake37744 жыл бұрын
hi i'm unable to run first 2 methods in matlab 2017
@Stallzyx4 жыл бұрын
When you call the numerical integration, you have @trajectory in there, but you don't define sdot = trajectory(t,s) until further down the page? So how does this work or does it search the file for a trajectory function even if it's been stated below? On the previous problems you had the following: % Call ode45 solver [time,state_values] = ode45(sdot,tspan,IC);
@themistoklischronis85104 жыл бұрын
good lecture man
@gauthierngandukalala78924 жыл бұрын
Thanks bcp for this video, I would like to know How would you write the code when the stiffness matrix K(t) is time-varying?
@aloi58984 жыл бұрын
I also have the same problem, did you find the solution??
@maysamtorkamanzade28084 жыл бұрын
It is perfect and helpful. Great thanks
@mishalmohanlal20964 жыл бұрын
Nice videos! I use Octave instead of Matlab though...
@srinivasanananth5744 жыл бұрын
It is fine to understand how the matrix form of the given coupled system equations is obtained. But how matlab coding for this matrix equation will be different from the code for state space form is not clearly captured in the descriptions at hand_vs_matrix file. It will be better if the coding of this m file is scrolled slowly for better understanding.
@srinivasanananth5744 жыл бұрын
Really a great video....systematic delivery following the same procedure in all videos by the author...those who had frequent hiccups in converting system equations into state space model...these videos (I mean the other videos too in this line by Samaritan) are the real helpline. By the way it will be better if the author explains about linearization of non linear equations...and this will make procedures to solving system equations (which are practically nonlinear) fully complete.