Professional Documents
Culture Documents
>>
>> roots(f)
ans =
-0.6590 + 0.0000i
0.0000 + 0.8761i
0.0000 - 0.8761i
0.6590 + 0.0000i
>> polyval(f,1)
ans =
>> conv(f,g)
ans =
24 -18 20 3 -1 9 -3 -3 -1
>> residue(f,g)
ans =
0.2199 + 0.0549i
0.2199 - 0.0549i
-0.0793 + 0.1766i
-0.0793 - 0.1766i
>> polyder(f)
ans =
12 0 2 0
>> polyder(f,g)
ans =
>> plot(a,b)
>> bar(a,b)
>> stairs(x,y)
>> stairs(a,b)
>> polar(a,b)
>> pie(a,b)
>> rose(a,b)
title(`lenguaje de programacion´)
|
>> y=1:13
y=
1 2 3 4 5 6 7 8 9 10 11 12 13
>> 0:2:16;
>> y=0:2:16;
>> plot(x,y)
>> x=0:3:21;
>> c=1:50;
>> d=sin(c)+c.^2;
>> d=sin(c)+c.^2
d=
1.0e+03 *
Columns 1 through 8
Columns 9 through 16
Columns 17 through 24
Columns 25 through 32
Columns 41 through 48
Columns 49 through 50
2.4000 2.4997
>> fl=sin(c+pi/180)+c.^2)
fl=sin(c+pi/180)+c.^2)
>> fl=sin(c+pi/180)+c.^2;
>> z=1:10;
>> q=(2*z.)
q=(2*z.)
>> q=(2*z.^2+log(z))./(z+1);
>> w=z.^2.*(1./z);
>> plot(z,q,'*r-',z,w,'b<-')
>> plot(z,q,'*r-',z,w,'b<-'),title('grafi'),xlabel('val Q'),ylabel('val W')