- Видео 133
- Просмотров 358 825
Jaisohn Kim VT
США
Добавлен 12 май 2015
Welcome to my RUclips channel dedicated to MATLAB and Numerical Methods tutorials! Whether you're looking to learn MATLAB programming fundamentals or solve a plethora of numerical methods problems in MATLAB, my videos span a wide range of engineering-related topics to help you master these powerful tools. I hope you find this channel useful!
Please feel free to contact me at tjkim.main at gmail.com; however, please note that I cannot provide any "code consulting".
Please feel free to contact me at tjkim.main at gmail.com; however, please note that I cannot provide any "code consulting".
Binary Logistic Regression in MATLAB, Part 2: Model Fitting
Binary Logistic Regression in MATLAB (2/2)
This two-part video series implements binary logistic regression in MATLAB. In the first video, we load, clean, and explore a dataset related to vehicle purchasing decisions. In the second video, we fit the binary logistic regression model to the data and analyze its accuracy via a confusion matrix.
Kaggle site: www.kaggle.com/datasets/gabrielsantello/cars-purchase-decision-dataset/data
Data file: github.com/tjkim96/Numerical-Methods-Codes/blob/main/07%20Advanced%20Data%20Analysis/car_data.csv
Blank .m file: github.com/tjkim96/Numerical-Methods-Codes/blob/main/07%20Advanced%20Data%20Analysis/CarPurchases_blank.m
Master (complete and commented) file: ...
This two-part video series implements binary logistic regression in MATLAB. In the first video, we load, clean, and explore a dataset related to vehicle purchasing decisions. In the second video, we fit the binary logistic regression model to the data and analyze its accuracy via a confusion matrix.
Kaggle site: www.kaggle.com/datasets/gabrielsantello/cars-purchase-decision-dataset/data
Data file: github.com/tjkim96/Numerical-Methods-Codes/blob/main/07%20Advanced%20Data%20Analysis/car_data.csv
Blank .m file: github.com/tjkim96/Numerical-Methods-Codes/blob/main/07%20Advanced%20Data%20Analysis/CarPurchases_blank.m
Master (complete and commented) file: ...
Просмотров: 261
Видео
Binary Logistic Regression in MATLAB, Part 1: Data Exploration
Просмотров 3487 месяцев назад
Binary Logistic Regression in MATLAB (1/2) This two-part video series implements binary logistic regression in MATLAB. In the first video, we load, clean, and explore a dataset related to vehicle purchasing decisions. In the second video, we fit the binary logistic regression model to the data and analyze its accuracy via a confusion matrix. Kaggle site: www.kaggle.com/datasets/gabrielsantello/...
Mass-Spring-Damper MATLAB Design Problem (2/2)
Просмотров 9952 года назад
Virginia Tech ME 2004: Mass-Spring-Damper MATLAB Design Problem (2/2) This two-part video series implements the famous mass-spring-damper system into MATLAB...with a twist. We need to find some damping values which satisfy two performance constraints. The first video introduces the problem and sets up the foundation of the code used in this video. This video solves the system via MATLAB's ode45...
Mass-Spring-Damper MATLAB Design Problem (1/2)
Просмотров 2,3 тыс.2 года назад
Virginia Tech ME 2004: Mass-Spring-Damper MATLAB Design Problem (1/2) This two-part video series implements the famous mass-spring-damper system into MATLAB...with a twist. We need to find some damping values which satisfy two performance constraints. This video introduces the problem and sets up the foundation of the code used in the second video. The second video solves the system via MATLAB'...
Coding the Mass-Spring-Damper System in MATLAB (2/2)
Просмотров 12 тыс.2 года назад
Virginia Tech ME 2004: Coding the Mass-Spring-Damper System in MATLAB (2/2) This two-part video series implements the famous mass-spring-damper system into MATLAB. The solutions are obtained via ode45(). The previous video introduces the system and decomposes the governing 2nd-order ODE into a series of coupled 1st-order ODEs. This video solves the system via MATLAB's ode45() and illustrates a ...
Coding the Mass-Spring-Damper System in MATLAB (1/2)
Просмотров 12 тыс.2 года назад
Virginia Tech ME 2004: Coding the Mass-Spring-Damper System in MATLAB (1/2) This two-part video series implements the famous mass-spring-damper system into MATLAB. The solutions are obtained via ode45(). This video introduces the system and decomposes the governing 2nd-order ODE into a series of coupled 1st-order ODEs. The next video solves the system via MATLAB's ode45() and illustrates a few ...
Coding the SIR Epidemic Model in MATLAB (2/2)
Просмотров 13 тыс.2 года назад
Virginia Tech ME 2004: Coding the SIR Epidemic Model in MATLAB (2/2) This is the second of a two-part video sequence on solving a system of 1st order ODEs related to an epidemic in MATLAB. The first video introduced the model and re-cast the system of 1st order ODEs into matrix form. This video implements the model in MATLAB and conducts a mathematical follow-up analysis. Blank .m file: bit.ly/...
Coding the SIR Epidemic Model in MATLAB (1/2)
Просмотров 7 тыс.2 года назад
Virginia Tech ME 2004: Coding the SIR Epidemic Model in MATLAB This is the first of a two-part video sequence on solving a system of 1st order ODEs related to an epidemic in MATLAB. This video introduces the model and re-casts the system of 1st order ODEs into matrix form. Blank .m file: bit.ly/Epidemic_blank Master (complete and commented) file: bit.ly/Epidemic_master Problem statement: bit.ly...
Numerical Methods: Matrix Inverse
Просмотров 1,5 тыс.2 года назад
Virginia Tech ME 2004: Matrix Inverse This video reviews some basic concepts of the matrix inverse, including the physical interpretation of the matrix inverse. Slides: bit.ly/MatrixInverse (This is a re-upload of an identical video which had some screen flickering issues I only discovered recently. The issues have been resolved in this re-upload.)
Solving 1st Order ODEs in MATLAB: Population Modeling (2/2)
Просмотров 8522 года назад
Virginia Tech ME 2004: Solving 1st Order ODEs in MATLAB, Population Modeling (2/2) This is the second of a two-part video sequence on solving a 1st order ODE related to modeling the Earth's population in MATLAB. The first video sketches the phase portrait and anticipated solution by hand. This video numerically solves and interprets the solution in MATLAB. Blank .m file: bit.ly/PopulationModel_...
Solving 1st Order ODEs in MATLAB: Population Modeling (1/2)
Просмотров 8062 года назад
Virginia Tech ME 2004: Solving 1st Order ODEs in MATLAB, Population Modeling (1/2) This is the first of a two-part video sequence on solving a 1st order ODE related to modeling the Earth's population in MATLAB. This video sketches the phase portrait and anticipated solution by hand. The next video numerically solves and interprets the solution in MATLAB. Blank .m file: bit.ly/PopulationModel_bl...
Solving 1st Order ODEs in MATLAB: Skydiver (2/2)
Просмотров 9382 года назад
Virginia Tech ME 2004: Solving 1st Order ODEs in MATLAB, Skydiver (2/2) This is the second of a two-part video sequence on solving a 1st order ODE related to the velocity of a freefalling skydiver in MATLAB. The first video sketches the phase portrait and anticipated solution by hand. This video numerically solves and interprets the solution in MATLAB. Blank .m file: bit.ly/Skydiver_blank Maste...
Solving 1st Order ODEs in MATLAB: Skydiver (1/2)
Просмотров 1,1 тыс.2 года назад
Virginia Tech ME 2004: Solving 1st Order ODEs in MATLAB, Skydiver (1/2) This is the first of a two-part video sequence on solving a 1st order ODE related to the velocity of a freefalling skydiver in MATLAB. This video sketches the phase portrait and anticipated solution by hand. The next video numerically solves and interprets the solution in MATLAB. Blank .m file: bit.ly/Skydiver_blank Master ...
Solving 1st Order ODEs in MATLAB: Lumped Thermal Mass (2/2)
Просмотров 8182 года назад
Virginia Tech ME 2004: Solving 1st Order ODEs in MATLAB, Lumped Thermal Mass (2/2) This is the second of a two-part video sequence on solving a 1st order ODE related to a lumped thermal mass in MATLAB. The first video sketches the phase portrait and anticipated solution by hand. This video numerically solves and interprets the solution in MATLAB. Blank .m file: bit.ly/LumpedThermalMass_blank Ma...
Solving 1st Order ODEs in MATLAB: Lumped Thermal Mass (1/2)
Просмотров 2102 года назад
Virginia Tech ME 2004: Solving 1st Order ODEs in MATLAB, Lumped Thermal Mass (1/2) This is the first of a two-part video sequence on solving a 1st order ODE related to a lumped thermal mass in MATLAB. This video sketches the phase portrait and anticipated solution by hand. The next video numerically solves and interprets the solution in MATLAB. NOTE: The OneNote page I'm drawing on (when we sta...
Numerical Integration Conceptual Example (Space Time Diagrams)
Просмотров 8092 года назад
Numerical Integration Conceptual Example (Space Time Diagrams)
Numerical Integration Example (Shear-Moment Diagrams)
Просмотров 5422 года назад
Numerical Integration Example (Shear-Moment Diagrams)
Numerical Integration: Mechanical Work
Просмотров 9282 года назад
Numerical Integration: Mechanical Work
Numerical Differentiation: Step Size Exploration
Просмотров 2,4 тыс.2 года назад
Numerical Differentiation: Step Size Exploration
Numerical Methods: Numerical Differentiation Overview
Просмотров 2,6 тыс.2 года назад
Numerical Methods: Numerical Differentiation Overview
Integrating the Unit Step and Delta Functions
Просмотров 6 тыс.2 года назад
Integrating the Unit Step and Delta Functions
Numerical Differentiation: Stopping Distances
Просмотров 8852 года назад
Numerical Differentiation: Stopping Distances
Integration Review and the Unit Step/Pulse Functions
Просмотров 1,2 тыс.2 года назад
Integration Review and the Unit Step/Pulse Functions
Numerical Methods: Root Finding Example 1 (Redlich-Kwong Equation of State)
Просмотров 2,6 тыс.2 года назад
Numerical Methods: Root Finding Example 1 (Redlich-Kwong Equation of State)
Numerical Methods: Root Finding Example 2 (Population Study)
Просмотров 4372 года назад
Numerical Methods: Root Finding Example 2 (Population Study)
How to Perform Manual Iterations of the Newton-Raphson Method
Просмотров 6232 года назад
How to Perform Manual Iterations of the Newton-Raphson Method
Finding the Fixed Points of an ODE via Newton-Raphson
Просмотров 8242 года назад
Finding the Fixed Points of an ODE via Newton-Raphson
Im an international student studying overseas in a foreign language. We're now going through a 3rd numerical methods course and this topic of errors has popped up since the first one. I never understood it well, in huge part due to the presentation of the material in a language I didn't grow up with. Your explanation here is so clear, and I already have a better grasp of what I poorly understood for the past couple of semesters. Thanks for this great teaching!
Thanks for the kind words! Good luck with your future courses!
Thank you for the clear explanation
Amazing explanation, thanks a lot
THANK YOU. the PowerPoint our doctor had didn't have a well established example.
the links to the code dont work
Just updated the links, thanks for letting me know!
nice
.
Do you have the videos for the rest of the course?
Hello, most videos on this channel are related to the course. I'm in the process of updating my Github to include a syllabus/video viewing sequence, but that probably won't be done for a while.
Thanks
Please continue making more videos in this numerical analysis/ error analysis❤
Excellent, thank you so much sir. Hoping to pass my quiz tomorrow.
Hope it went well!
Amazaing, thank you very much!
Hallo, may i know your coding in "epidemic_master.m" ? Why i find eror when calling a function ?
Please refer to the MathWorks debugging pages -- there could be many causes of this error. My code is attached in the video description and they should run error-free.
Hello! Do you have the example for double mass-spring-damper system?
Hello, I don't have any 2DOF mass-spring-damper examples, but MathWorks does (www.mathworks.com/help/simscape/ug/double-mass-spring-damper-in-simulink-and-simscape.html) and this page on the File Exchange seems reputable (www.mathworks.com/matlabcentral/fileexchange/159391-double-mass-damper-mechanical-system)
Really surprised by the quality and delivery of this presentation, great work
Thank you very much!
I have a question. I tried to increment S0 to 100,000, however, the graph became illogical as all the people became sick in less than one day. I understand this happened because the infection rate is constant. How would we make it so that 'a', the infection rate, is dependent on when people start showing symptoms. Because obviously in a real world scenario, the infection rate isn't constant and people would start showing symptoms days later, therefore people getting sick would be more gradual and not so sudden (even if we increase population size)
Check out this paper, which is a modification of the SIR Model: www.sciencedirect.com/science/article/pii/S2468042720300725 In particular, it demonstrates that the alpha/beta constants traditionally used in the SIR Model are not actually constant, and a change is proposed to encompass these findings. In essence, the alpha/beta parameters are changed to be a function of the population density, among other things. Perhaps you can make a similar modification.
by far the best video on this topic on all of youtube
Appreciate it!
Hello, I'm doing a MATLAB project for my programming class. I'm looking to apply some of the principles in my programming class and overlap them with some computations from the steam tables. Is it cool if I reference your video and program in my project? Thank you. Joel
Absolutely! Good luck!
you ,save me prof
Please provide the data. Link is not working
fixed
@@jaisohnkimVT Thank you so much for the lectures. I work in the automotive domain and your concepts are very helpful for learning automotive in a mathematical perspective.
THANK YOU SO MUCH.
The links in the description don't work anymore
Just fixed, thanks!
Great video. It's been a few years since I took the relevant course and this really helped me get the intuitions back for a computational linear algebra course I've just started this semester.
thanks, glad it helped!
is it possible to add noise in the simulation?
I haven't tried adding noise to the simulations myself. I will refer you to these pages which may be helpful: www.mathworks.com/matlabcentral/answers/1646055-what-is-the-way-of-solving-the-noise-added-differential-equations-in-matlab, stackoverflow.com/questions/10343868/differential-equation-with-gaussian-noise-matlab
Very nice video! really good overview
i know im a bit lat, but thanks for this. Incredible way to explain fprintf hahah
Great explication !
Jaisohn Kim the Goat
None of the links work. I needed the master file, could you provide?
The links seem to work on my end, try again?
Jaisohn Kim the Goat
Jaisohn Kim the Goat
Jaisohn Kim the GOAT
Jaisohn Kim the Goat
Jaisohn Kim The Goat
Thank you Mr. GradeSaver!!!
Jaisohn Kim The Goat
just came across in my search of vector norms and was astonished, 🐐. Makes me wonder why is it that some people can communicate ideas clearly without fluff but no loss of meaning while others can spend 40mins basically saying nothing
Great Explanation!!!!!
Jaisohn Kim the goat
tks for this useful video can you make it into simulink thank you
Thanks for watching. Unfortunately, I don't plan to make any Simulink-related videos anytime soon :(
@@jaisohnkimVT ayy it's okay man you've done good tutorials already :)
Superb explanation
thanks dude!
Thanks,sir
how can I determine my parameters a and r with lsqnonlin?
I assume you already have the S, I, and R data and you are attempting to find the a and r parameters which best fit the data. This is off the top of my head so I haven't tested this out at all, but perhaps something like the following might be a useful starting point: a_and_r = lsqcurvefit(@sir, initial_parameter_guesses,t,SIRdata,<other arguments>) function y = sir(a_and_r,t) % set up system of ODEs dydt = @(t,y) [-a*y(1)*y(2); % ...and so forth] % ode45 call [~,y] = ode45(dydt,t,initial_SIR_values); end
Thank you!
Thank-you! I appreciate you!
thank u i almost failed but didnt bc of u <3
Glad my videos helped!
good job
Great video thanks!!!!! but how would you plot the acceleration??
Recall that m*xddot + c*xdot + k*x = u, so the acceleration (xddot) is: xddot = (-c/m)*xdot - (k/m)*x + (u/m) Hopefully this is familiar from when we put the system into state-space form. Therefore, you can do something like: [t,x,v] = ode45(stuff); a = (-c/m)*v - (k/m)*x + (u/m); figure plot(t,a) This is the most "proper" way in my mind. You could alternatively obtain the accel vector by numerically differentiating the velocity vector, although I am not a fan of this because it could introduce noise into the accel vector. Hope this helps!
Hi there, I am doing a project on disease dynamics modelling, your explanation of matlab implementation for disease models is very clear. I am interesting in discussing my model with you so I would like to kindly request an email address to reach out to you. Thank you :)
Hello, feel free to contact me at jais0hn@vt.edu, but please bear in mind that I cannot offer any consulting, model advice, debugging, etc.
Hi, I have a question. Why when susceptible individuals are equal to recovered individuals the infected individuals are maximum
The infected population doesn't always peak right when susceptible population = recovered population; it largely depends on the system parameters. I found this website (people.wku.edu/lily.popova.zhuhadar/) useful.
thank you ............i find it really helpful