Escolar Documentos
Profissional Documentos
Cultura Documentos
Pulso rectangular
Sea un pulso rectangular tal que f(t) es cero excepto en el intervalo [-a,a]
que vale A, tal como se muestra en la figura
ezplot(ft,[-2,2]);
ylim([-0.2 1.2])
xlabel('t');
ylabel('f(t)')
title('Pulso rectangular')
Fw=subs(Fw,a,1);
subplot(2,1,2)
hg=ezplot(Fw,[-10,10]);
set(hg,'color','r')
ylim([-1 2.2])
xlabel('\omega');
ylabel('F(\omega)')
title('Transformada de Fourier')
grid on
xlabel('t');
ylabel('f(t)')
title('Pulso rectangular')
w=linspace(-10,10,100);
fw=2*sin(w+eps)./w;
subplot(2,1,2)
plot(w,fw,'r');
ylim([-1,2.2])
xlabel('\omega');
ylabel('F(\omega)')
grid on
Pulso triangular
f(t)=1+taat<01ta0t<a0otros tf(t)={1+ta
at<01ta0t<a0otros t
La transformada de Fourier es
F()=f(t)exp(it)dt=a0(1+ta)exp(it)dt+0a(1ta)exp(
it)dt=4sin2(a/2)a2F()=f(t)exp(it)dt=a0(1+ta)exp(it)dt+0a(1ta)
exp(it)dt=4sin2(a/2)a2
>>
>>
>>
>>
Fw
>>
Fw
syms t a w;
f1=(1+t/a)*(heaviside(t+a)-heaviside(t))*exp(-i*w*t);
f2=(1-t/a)*(heaviside(t)-heaviside(t-a))*exp(-i*w*t);
Fw=int(f1,t,-a,0)+int(f2,t,0,a)
=1/(a*w^2) - (1/exp(a*w*i))/(a*w^2) - (exp(a*w*i) - 1)/(a*w^2)
Fw=simplify(Fw)
=(4*sin((a*w)/2)^2)/(a*w^2)
syms t;
ft=(1-t)*(heaviside(t)-heaviside(t-1))+(1+t)*(heaviside(t+1)heaviside(t));
Fw=fourier(ft);
Fw=simplify(Fw)
subplot(2,1,1)
ezplot(ft,[-2,2]);
ylim([-0.2 1.2])
xlabel('t');
ylabel('f(t)')
title('Pulso triangular')
subplot(2,1,2)
hg=ezplot(Fw,[-10,10]);
set(hg,'color','r')
ylim([-0.1 1.1])
xlabel('\omega');
ylabel('F(\omega)')
title('Transformada de Fourier')
grid on