An Introduction To Matlab

You might also like

You are on page 1of 94

An introduction to matlab

Why MatLab?

The interactive mode

>>

Data types

@function

Variables are case sensitive

NaN are different

Arrays

Arrays (2)

Row, Columns and Transposes

Cells

To save space not always the output is printed

Use { } to extract the contents of the cells

Strings

Operators

Matrix Multiplication

Left Right division

Element by element

Comparison Operators

Logical Operators

Example

Loops

You might also like