Einführung zu Fourierreihe
Als Fourierreihe (nach Joseph Fourier) bezeichnet man die Reihenentwicklung einer periodischen,
abschnittsweise stetigen Funktion in eine Funktionenreihe aus Sinus- und Kosinusfunktionen.
+∞
𝐴𝜏
Gleichanteil: X0 =
𝑇
1
Xn = ∫𝑇 𝑥(𝑡)𝑒 −𝑗𝑛𝜔0 𝑡 𝑑𝑡
𝑇
1 𝜏
= ∫0 𝐴𝑒 −𝑗𝑛𝜔0 𝑡 𝑑𝑡
𝑇
𝐴 𝜏
= ∫0 𝑒 −𝑗𝑛𝜔0 𝑡 𝑑𝑡
𝑇
𝐴 1 𝜏
= ( 𝑒 −𝑗𝑛𝜔0 𝑡 )|
𝑇 −𝑗𝑛𝜔0 0
𝐴
=−𝑗𝑛𝑇𝜔 (𝑒 −𝑗𝑛𝜔0 𝜏 −1) n=0, ±1, ±2, ±3, … …
0
+∞
𝐴𝜏 𝐴
Komplexe Fourierreihe: 𝑥(𝑡) = + ∑ (𝑒 −𝑗𝑛𝜔0 𝜏 − 1) 𝑒 𝑗𝑛𝜔0 𝑡
𝑇 −𝑗𝑛𝑇𝜔0
𝑛=−∞
4.Programmcode
4.1 Hauptfunktion (main.m)
clear all
t=0:0.01:8; % Zeitachse, Zweimal Zykluszeit
subplot(2,2,1) % Parameter fuer Zeichnungen der Synthese
feststellen
plot(t,Synthese(1));
xlabel('Zeit/s');
ylabel('Betrag');
title('Synthese n=1,basis'); % Unterprogramm 'Synthese.m' aufrufen
grid on;
subplot(2,2,2);
plot(t,Synthese(10));
xlabel('Zeit/s');
ylabel('Betrag');
title('Synthese n=10');
grid on;
subplot(2,2,3);
plot(t,Synthese(100));
xlabel('Zeit/s');
ylabel('Betrag');
title('Synthese n=100');
grid on;
subplot(2,2,4);
plot(t,Synthese(1000));
xlabel('Zeit/s');
ylabel('Betrag');
title('Synthese n=1000');
grid on;
figure; % neue Abbildung fuer Amplitudengang erstellen
subplot(1,2,1);
Ampli(10); % Unterprogramm 'Ampli.m' aufrufen
xlabel('Frequenz 1/sec');
ylabel('Betrag');
title('Amplitudengang n=±10');
subplot(1,2,2);
Ampli(20);
xlabel('Frequenz 1/sec');
ylabel('Betrag');
title('Amplitudengang n=±20');
figure; % neue Abbildung fuer Phasengang erstellen
subplot(1,2,1);
Phas(20); % Unterprogramm 'Phas.m' aufrufen
xlabel('Frequenz 1/sec');
ylabel('Phase/rad');
title('Phasengang n=±10');
subplot(1,2,2);
Phas(30);
xlabel('Frequenz 1/sec');
ylabel('Phase/rad');
title('Phasengang n=±20');