Professional Documents
Culture Documents
PRESENTADO POR:
FERNANDO GONZLEZ TELLEZ COD 52731
a)
t=[-10:0.1:10];
t=-10:0.1:10;
x=1
x=ones(1,201)
plot(t,x)
X(t)=1
1.5
0.5
0
-10
X
-8
-6
-4
-2
10
%%
b)
t1=-10:1:0
t2=0:1:10
x1=zeros(1,length(t1))
x2=ones(1,length(t2))
figure(2)
plot(t1,x1,'r')
hold on
plot(t2,x2,'r')
t3=[0,0]
x3=[0,1]
plot(t3,x3,'r')
hold off
t
2
x(t)=u(t)
1.5
0.5
-0.5
-1
-10
-8
-6
-4
-2
10
c) %%
t=-10:0.1:10;
x=exp(-t)
plot(t,x)
2.5
x 10
X=e
1.5
0.5
0
-10
X
-8
-6
-4
-2
10
d) %%
t=-20:1:20
wo=100
x=cos(wo*t)
plot(n,x)
0.8
0.6
0.4
0.2
-0.2
-0.4
-0.6
-0.8
-1
-20
-15
-10
-5
10
15
20
-10
-5
10
15
20
t=-20:1:20
wo=500
x=cos(wo*t)
plot(n,x)
0.8
0.6
0.4
0.2
-0.2
-0.4
-0.6
-0.8
-1
-20
-15
t=-20:1:20
wo=10000
x=cos(wo*t)
plot(n,x)
0.8
0.6
0.4
0.2
-0.2
-0.4
-0.6
-0.8
-1
-20
-15
-10
-5
10
15
20
-10
-5
10
15
20
t=-20:1:20
wo=1000000
x=cos(wo*t)
plot(n,x)
0.8
0.6
0.4
0.2
-0.2
-0.4
-0.6
-0.8
-1
-20
-15
e)
alpha=0.5
t1=-2:0.1:-(1/2*alpha)
t2=-1/2*alpha:0.1:1/2*alpha
t3=1/2*alpha:0.1:2
x1=zeros(1,length(t1))
x2=ones(1,length(t2))
x3=zeros(1,length(t3))
plot(t1,x1,t2,x2,'r',t3,x3,'g')
grid
1.5
0.5
-0.5
-1
-2
-1.5
-1
-0.5
0.5
1.5
f) %%
n=-20:1:20
wo=100
x=cos(wo*n)+j*sin(wo*n)
realx=real(x)
imagx=imag(x)
plot(n,realx)
hold on
plot(n,imagx,'r')
magnitud=abs(x)
grid
x(t)=cos(Wot)
1
0.8
0.6
0.4
0.2
-0.2
-0.4
-0.6
-0.8
-1
-20
-15
-10
-5
10
15
20
%%
n=-20:1:20
wo=1000000
x=cos(wo*n)+j*sin(wo*n)
realx=real(x)
imagx=imag(x)
plot(n,realx)
hold on
plot(n,imagx,'r')
magnitud=abs(x)
grid
1
0.8
0.6
0.4
0.2
-0.2
-0.4
-0.6
-0.8
-1
-20
-15
-10
-5
10
15
20
%%
t=[-10:0.1:10];
t=-10:0.1:10;
x=1
x=ones(1,201)
plot(t,x)
%%
t1=-10:1:0
t2=0:1:10
x1=zeros(1,length(t1))
x2=ones(1,length(t2))
figure(2)
plot(t1,x1,'r')
hold on
plot(t2,x2,'r')
t3=[0,0]
x3=[0,1]
plot(t3,x3,'r')
hold off
%%
n=-20:1:20
wo=1000000
x=cos(wo*n)+j*sin(wo*n)
realx=real(x)
imagx=imag(x)
plot(n,realx)
hold on
plot(n,imagx,'r')
magnitud=abs(x)
grid
%%
alpha=0.5
t1=-2:0.1:-(1/2*alpha)
t2=-1/2*alpha:0.1:1/2*alpha
t3=1/2*alpha:0.1:2
x1=zeros(1,length(t1))
x2=ones(1,length(t2))
x3=zeros(1,length(t3))
plot(t1,x1,t2,x2,'r',t3,x3,'g')
grid
%%
t=-10:0.1:10;
x=exp(-t)
plot(t,x)
%%
t=-20:1:20
wo=1000000
x=cos(wo*t)
plot(n,x)
CONCLUSIONES