
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 perform basic arithmetic in MATLAB, including addition, subtraction, multiplication, and division. Explore forward slash division, backslash caveats, power operations, and using a decimal point for numbers.
Explore arithmetic operators in MATLAB basics by calculating square roots, including complex results for minus seven, computing cube roots via exponent 1/3 or the nth root function, and natural logarithms.
Explore MATLAB relational operators to compare numbers, using greater than, less than, greater or equal, smaller or equal, and equality tests with double equal and not equal (tilde equal).
Learn how to clear the command window with clc, clear specific variables, and clear all to empty the workspace and free memory.
Matlab's help function explains rem, the remainder after division, and shows related functions via see also; if you don't know the function name, use look for to search for remainder.
Learn to use simple trigonometric functions in MATLAB, including sine, tangent, cotangent, and cosine, while handling radians and degrees and applying the pi constant.
Explore MATLAB basics by mastering the exponential function with exp, absolute value via abs (including complex numbers), and rounding with round, ceil, floor, and rem.
Learn how to assign variables in MATLAB, create workspace variables, and suppress output with a semicolon. Practice operations with a, b, and c, and use command recall to edit lines.
Create row and column vectors in MATLAB using square brackets, semicolons, and apostrophes; generate sequences with 1:9, 1:0.5:9, or linspace(start, end, elements).
Learn how to index a row vector with five elements in MATLAB, access the third and fifth elements using A(3) and A(5), and replace the element with 16.
Learn to create column vectors in MATLAB, perform addition, subtraction, and scalar multiplication, and compute dot and cross products with dot and cross, ensuring same size for addition or subtraction.
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.
Explore MATLAB basics by performing matrix operations: add, subtract, and multiply 3x3 matrices A and B, and understand dimension compatibility for matrix product.
Determine the size of a vector or a matrix using MATLAB functions length and size, with examples of a four-element vector, a 2x2 matrix, and a 2x3 matrix.
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 random matrix in MATLAB by specifying its size and generating values between 0 and 1, with examples like 3x3 or 5x2.
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.
Explore how indexing works in a 3x3 matrix in MATLAB, retrieving the element at row 3, column 2, and counting elements by column for linear indexing.
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.
Learn to add comments in MATLAB to document a cylinder volume calculator, using the percent sign for nonexecuted notes, specify height and radius in meters, and show the volume formula.
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.
Explore data visually by creating a box plot with MATLAB's boxplot function and a histogram, using default and adjustable intervals to reveal medians, outliers, and distribution.
This course is designed to help you get started working with Matlab. Following topics are going to be covered: