Professional Documents
Culture Documents
Symbol ^ * / \ + -
Relational Operators
Relational Operator < <= > >= == = Meaning Less than Less than or Equal to Greater than Greater than or Equal to Equal to Not equal to
Command Clc Clear Clear var1 Exist (name) Quit Who Whos
Description Clears the command window Removes all variable from memory Removes var1 form memory Determine if a file or variable exist having the name name Stops MATLAB Lists the variables currently in memory Lists the current variables and sizes, and indicates if they have imaginary parts Colon: generates an array having regularly spaced elements. Comma: separates elements of an array. Semicolon: suppresses screen printing; also denotes a new row in an array. Ellipsis: continues a line.
Miscellaneous Functions
Command Asin(x) Cos(x) Exp(x) Dir dirname Length(x) Log(x) Log10(x) Mean(x) Sin(x) Sqrt(x) Std(x) Description Computes the inverse sin, or arcsine of x Computes the cosine of x Computes the exponential of x, ex Lists all the files in the directory dirname Computes the number of elements in the array of x Computes the natural logarithm of x, lnx Computes the base-10 logarithm of x, logx = log10x Computes the mean of x Computes the sine of x Computes the square root of x Computes the standard deviation of x