Está en la página 1de 2

PROBLEMA 2.

x=linspace(-4,4,200);
y=(x.^2+5.*x-3);
plot(x,y,'--r')
title('grfica del polinomio y=(x.^2+5.*x-3)')
grid on

PROBLEMA 6.-

tmax=1/50;
figure(1)
for t=0:tmax/36:tmax;
z=exp(j*2*pi*50*t);
compass(z),
pause(0.01)
end

PROBLEMA 8.-

[x y]=meshgrid(-pi:.1:pi, -pi:.1:pi);

z=x.^2-y.^2;

surfc(x,y,z)

PROBLEMA 10.-

A=[1 -1 2;2 -2 5;1 2 -1;0 2 2]

A=

1 -1 2

2 -2 5

1 2 -1
0 2 2

>> B=[3;4;-3;1]

B=

-3

s=A\B

s=

-0.7767

-0.5666

0.9964

También podría gustarte