
Explore the MATLAB user interface, focusing on the command window for entering and running commands, the workspace with variables, the current folder view, and the optional command history.
Learn to create and transpose matrices in MATLAB by defining a 3x3 matrix with semicolon-separated rows, suppress outputs with a semicolon, use the apostrophe for transposition, and inspect the workspace.
Create a MATLAB identity matrix by specifying the number of rows and columns; fill all off-diagonal elements with zero and diagonal elements with one.
Learn to create a magic matrix in MATLAB. A magic matrix has equal row and column sums and uses values 1 to n^2, as shown for 3x3 with sum 15.
In this video you are going to learn how to compute the rank, trace, eigenvalues, determinant and an inverse of a matrix.
Learn to create and save scripts as m-files by opening the editor window with the script button or edit command, and dock or resize the interface for comfortable coding.
Create an M-file to compute cylinder volume with h = 10 and r = 5, using V = h*pi*r^2, save as volume cylinder, and run to view the result.
Name m-files by starting with a letter and limiting characters to letters, numbers, or underscores. Use save as examples to show valid and invalid names for MATLAB.
Create a MATLAB m-file to plot a cosine function from -5 to 5 with 100 x-values, compute y = cos(x), and display the result with dot markers.
Add an x-axis label, a y-axis label, and a title to the plot. Clarify the Carson function plot for readers.
Plot cosine and sine on the same figure in MATLAB using hold on, overlay the curves, color the second red, and update the title to cosine and sine.
Learn how to save a plot you created in MATLAB using save as, or a print function to export as PNG or JPEG for reports or further proceedings.
Import data from an ASCII text file into MATLAB, assign it to a variable named data, and inspect a 12-element column vector of company revenues.
Learn how to import data from an Excel file into MATLAB, assign it to a variable named data, and view a nine-element column vector after loading.
import data from an ascii file containing revenues of twelve companies and perform statistical calculations in Matlab basics, including min, max, mean, median, 0.3 quantile via quantizer, and standard deviation.
This course is designed to help you get started working with Matlab. Following topics are going to be covered: