%Indexado de matrices.
c = [12 5; -2 13]
d = c(1,:)
e = c(:,2)

%Operaciones con vectores.
vec = [5 3 1 9 7]

[minVal,minInd] = min(vec)

ind = find(vec == 9)

ind = find(vec > 2 & vec <6)

x = linspace(0,4*pi,1000);
y = sin(x);

plot(y)
plot(x,y)

 x = [0 1 2]
 
 y = [0 1 0]
 
 plot(y,x)