# Estudiante Universitario

Páginas: 3 (553 palabras) Publicado: 17 de diciembre de 2012
syms x
y= x^2 +x+3;
z=x^3 +1;
a=ezplot (y,[-4,-2]);
set(a,'color','r', 'LineWidth',2)
hold on
b=ezplot (z,[-2,5]);
set(b,'color','y','LineWidth',2)
hold onezplot(diff(z),diff(y))

syms x;
f=log10((x^2-1)/x);
deriva=diff(f)
d=simplify(deriva)
pretty(d)

t=-5:.001:5;
f1=-t-1;
f2=-t+1;
f3=t-3;
f4=t-1;f=(f1.*((t>=-1)&(t<=0))+f2.*(t>0&(t<1))+f3.*(t>1&(t<=2))+f4.*(t>2&(t<=3)));
plot(t,f,'y','LineWidth',2);
hold on

syms t;
f1=-t-1;
a=diff(f1)ezplot(a,[-1,0]);

f2=-t+1;
b=diff(f2)
ezplot(b,[0,1]);

f3=t-3;
c=diff(f3)
ezplot(c,[1,2]);

f4=t-1;
e=diff(f4)
ezplot(e,[2,3]);
hold on

g=diff(a)
k=ezplot(g,[-1,0]);
set(k, 'Color', 'm');h=diff(b)
l=ezplot(h,[0,1]);
set(l, 'Color', 'm');
i=diff(c)
m=ezplot(i,[1,2]);
set(m, 'Color', 'm');
j=diff(e)
n=ezplot(j,[2,3]);
axis([-2 5 -3 3])
set(n, 'Color', 'm');
grid on%Grafica de derivadas con pulsos de delta de dirac
syms t;
f1=-t-1
j=diff(f1)
f2=-t+1
h=diff(f2)
f3=t-3
i=diff(f3)
f4=t-1
j=diff(f4)
t=-5:0.1:5;

%función
f1=-t-1;
f2=-t+1;
f3=t-3;
f4=t-1;f=(f1.*((t>=-1)&(t<=0))+f2.*(t>0&(t<1))+f3.*(t>1&(t<=2))+f4.*(t>2&(t<=3)));

subplot (3,1,1)
plot(t,f,'g','LineWidth',2);
grid on;

fd2=-1;
fd3=1;
fd4=1;

i1=(2)*sinc(1000*(t));
i2=(-2)*sinc(1000*(t-1));
i3=(2)*sinc(1000*(t-2));
i4=(-2)*sinc(1000*(t-3));fd=(fd1.*((t>=-1)&(t<0)))+(i1.*(t==0))+(fd2.*((t>0)&(t<1)))+(i2.*(t==1))+(fd3.*((t>1)&(t<2)))+(i3.*(t==2))+(fd4.*((t>2)&(t<3)))+(i4.*(t==3));

subplot(3,1,2);
stem(t,fd,'r','Linewidth',0.5);
grid on;

fdd1=0;
fdd2=0;
fdd3=0;
fdd4=0;

i1=(2)*sinc(1000*(t));
i2=(-2)*sinc(1000*(t-1));
i3=(2)*sinc(1000*(t-2));
i4=(-2)*sinc(1000*(t-3));

in1=(-1)*sinc(t+1);
in2=(2)*sinc(t-1);...

Regístrate para leer el documento completo.