In this tutorial you are going to learn how to display a slider crank animation using MATLAB plot,and save it as a video.
In this video I talk about:
How to use plot command in MATLAB effectively.
How to save every frame of a figure to a video file.
How to use a for loop to create multiple frames and plots.
How to use pause function to give a sense of passage of time.
what is a video object, how to write the frames into it and how to modify it.
the fill command
💢💢💢💢💢💢
This video is the first part of "Learning MATLAB through Projects". If you think it is a good idea to illustrate how to use MATLAB in real-life examples and projects, let me know in the comments.
💢💢💢💢💢💢
Important * Attention *
🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻🔻
If you want the code of this program, leave your E-mail in the comments and I will send you the M-file.
🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺🔺
If you enjoyed this tutorial, please consider hitting the SUBSCRIBE button. Or click on the link below:
https://bit.ly/3q1he3v
So:
If you want to learn MATLAB:
https://bit.ly/3q1he3v
Here's the full MATLAB for beginners playlist:
• Beginner's Guide to MATLAB
You can also follow us on
Instagram:
/ laplaceacademy
Facebook:
/ laplaceacademy
LinkedIn:
/ laplaceacademy
Twitter:
/ laplace_academy
0:00 - Introduction
01:42 - Plotting the Slider-Crank
03:40 - Fill command in MATLAB
05:16 - Save animation as a video in MATLAB
#laplaceacademy #matlabproject