Date post: | 12-Jul-2015 |
Category: |
Education |
Upload: | unisalesiana |
View: | 1,088 times |
Download: | 2 times |
UNIVERSIDAD POLITECNICA
SALESIANA
FACULTAD DE INGENIERA
•
f(t)=f(-t)
f(t)=
Se remplaza f(-t) en la t de la función
f(-t)=
f(-t)=
La función es par de acuerdo al teorema:
.
f (t) = ∏^2-t^2
t=-3*pi:0.01:3*pi;
ft=(pi.^2)-(t.^2);
plot (t,ft,'g-','LineWidth',3)
xlabel('t','Font Size',20)
ylabel('ft','Font Size',20)
Esta serie la forma de escribir el Periodo en Matlab
Y también la Función del ejercicio
function y= fourier(t)
y=0.0;
for n=1:5;
y=y+(4/6)*pi^2+(-4/n^2)*(-1)^n*cos(n*t);
end
y=y-min(y);
t=-3*pi:0.01:3*pi;
y=fourier(t);
hold on
plot(t,y,'g-','LineWidth',3)
xlabel('t','FontSize', 20)
ylabel('f(t)','FontSize',20)