MATLAB Preliminaries
There are many specific operations to deal with vector/matrices. For example, the “.” operand is for element by element operation
c = a.*x
c =
[ 2 2 0] Other special operators:
x = linspace(0,20,21);
x = 0:1:20; (The numbers need not be integers or even positive)
Previous slide
Next slide
Back to first slide
View graphic version