Professional Documents
Culture Documents
1
Programming Languages
A programming language is a set of commands,
instructions, and other syntax used to create a computer
program (or software).
Current
Folder
Workspace
10
Some Basic MATLAB Commands
who
Lists the names of the variables defined by the user
whos
Lists detailed information about the variables defined by
the user
clc
Clears the command window
11
Some Basic MATLAB Commands
clear
Deletes all the variables from the MATLAB workspace
What is a Matrix?
• A matrix is a one- or multi-dimensional array of elements
• All data in MATLAB are viewed as matrices
• Thus, a scalar is a matrix with only one row and one column
• A vector contains only one row or one column 14