Welcome to Laplace Academy.
In this tutorial we're going to discuss user-defined functions in MATLAB. There are three ways to define a function in MATLAB:
1. Create a new script.
2. Anonymous function
3. Inline comand
In this video I discuss:
All three ways of defining a function
How to vectorize a function so that it can accept a vector as its input.
Primary function and subfunctions.
This video is part of a complete beginner's guide to MATLAB. In a comprehensive series of tutorials, you are going to learn basically everything you need, in order to start programming with MATLAB. So if you are looking for a complete beginner tutorial for MATLAB, 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 - Create a New Function in MATLAB
01:04 - Anonymous Function in MATLAB
01:32 - Inline Command in MATLAB
02:06 - Primary Function and Subfunctions in MATLAB
#laplaceacademy #matlab tutorial for beginners