Welcome to this MATLAB Video tutorial. If you have never used MATLAB before, this demonstration will get you started and show you where to go to next to learn more.
Every variable in MATLAB® is an array that can hold many numbers. When you want to access selected elements of an array, use indexing.
You can display multiple plots in different subregions of the same window using the subplot function.
MATLAB is an abbreviation for "matrix laboratory." While other programming languages mostly work with numbers one at a time, MATLAB® is designed to operate primarily on whole matrices and
MATLAB® provides a large number of functions that perform computational tasks. Functions are equivalent to subroutines or methods in other programming languages.
To create two-dimensional line plots, use the plot function. For example, plot the value of the sine function from 0 to 2\pi :
Three-dimensional plots typically display a surface defined by a function in two variables, z = f(x,y) .