Skip to main content

Fourier Series and Fourier Analysis of a Signal


Fourier Series and Fourier Analysis of a Signal

Most of the phenomena studied in the domain of Engineering and Science are periodic in nature. For instance, current and voltage in an alternating current circuit. These periodic functions could be analyzed into their constituent components (fundamentals and harmonics) by a process called Fourier analysis. A Fourier series is an expansion of a periodic function into a sum of trigonometric functions. The Fourier series is an example of a trigonometric series, but not all trigonometric series are Fourier series. Fourier series is used to describe a periodic signal in terms of cosine and sine waves. In other words, it allows us to model any arbitrary periodic signal with a combination of sines and cosines.

1. Fundamental Frequency

The fundamental angular frequency of a periodic signal \( x(t) \) with period \( T \) is

\[ \omega_0 = \frac{2\pi}{T} \]

2. Forms of the Fourier Series

A periodic signal can be represented either in trigonometric form or in complex exponential form.

2.1 Trigonometric (Sine–Cosine) Form

\[ x(t) = a_0 + \sum_{n=1}^{\infty} \left[a_n\cos(n\omega_0 t) + b_n\sin(n\omega_0 t)\right] \]

2.2 Complex Exponential Form

\[ x(t) = \sum_{n=-\infty}^{\infty} C_n e^{jn\omega_0 t} \]

3. Fourier Series Coefficients

3.1 Trigonometric Coefficients

DC term:

\[ a_0 = \frac{1}{T}\int_{t_0}^{t_0 + T} x(t)\, dt \]

Cosine coefficients:

\[ a_n = \frac{2}{T}\int_{t_0}^{t_0 + T} x(t)\cos(n\omega_0 t)\, dt \]

Sine coefficients:

\[ b_n = \frac{2}{T}\int_{t_0}^{t_0 + T} x(t)\sin(n\omega_0 t)\, dt \]

Note: Any integration interval of length \( T \) may be used, such as \( [0, T] \) or \( [-T/2, T/2] \).

3.2 Complex Exponential Coefficients

\[ C_n = \frac{1}{T}\int_{t_0}^{t_0 + T} x(t)e^{-jn\omega_0 t}\, dt \]

4. Example: Fourier Series of \( x(t) = t \) on \([-1,1]\)

\[ \omega_0 = \pi \]

\[ a_0 = 0 \]

\[ a_n = 0 \]

\[ b_n = \frac{2(-1)^{n+1}}{n\pi} \]

Final Fourier series:

\[ x(t)= \sum_{n=1}^{\infty}\frac{2(-1)^{n+1}}{n\pi}\sin(n\pi t) \]

Fourier Series of a Rectangular Wave

5. Definition of the Rectangular Wave

\[ x(t)= \begin{cases} A, & |t| < \frac{T}{2} \\ 0, & \text{otherwise} \end{cases} \]

Sine wave waveform
Fig: Sine Wave
Triangular wave waveform
Fig: Triangular Wave
Reactangular wave waveform
Fig: Rectangular Wave

Further Reading

  1. Fourier Series Coefficient Calculator


Contact Us

Name

Email *

Message *

Popular Posts

BER vs SNR for M-ary QAM, M-ary PSK, QPSK, BPSK, ...(MATLAB Code + Simulator)

Bit Error Rate (BER) & SNR Guide Analyze communication system performance with our interactive simulators and MATLAB tools. 📘 Theory 🧮 Simulators 💻 MATLAB Code 📚 Resources BER Definition SNR Formula BER Calculator MATLAB Comparison 📂 Explore M-ary QAM, PSK, and QPSK Topics ▼ 🧮 Constellation Simulator: M-ary QAM 🧮 Constellation Simulator: M-ary PSK 🧮 BER calculation for ASK, FSK, and PSK 🧮 Approaches to BER vs SNR Calculation What is Bit Error Rate (BER)? The BER indicates how many corrupted bits are received compared to the total number of bits sent. It is the primary figur...

MIMO Channel Matrix | Rank and Condition Number

MIMO / Massive MIMO MIMO Channel Matrix | Rank and Condition...   The channel matrix in wireless communication is a matrix that describes the impact of the channel on the transmitted signal. The channel matrix can be used to model the effects of the atmospheric or underwater environment on the signal, such as the absorption, reflection or scattering of the signal by surrounding objects. When addressing multi-antenna communication, the term "channel matrix" is used. Let's assume that only one TX and one RX are in communication and there's no surrounding object. Here, in our case, we can apply the proper threshold condition to a received signal and get the original transmitted signal at the RX side. However, in real-world situations, we see signal path blockage, reflections, etc.,  (NLOS paths [↗]) more frequently. The obstruction is typically caused by building walls, etc. Multi-antenna communication was introduced to address this issue. It makes diversity app...

UGC NET Electronic Science Previous Year Question Papers with Solutions

Home / Engineering & Other Exams / UGC NET 2026 PYQ ⬇️ Download Papers and Solutions 📋 Exam Pattern 💡 Preparation Tips ❓ FAQs 📊 Exam Highlights: Electronic Science (88) Feature Details Junior Research Fellowship (JRF) ₹37,000 + HRA per month Eligibility M.Sc/M.Tech in Electronics (55%) Validity of Certificate JRF (3 Years) | Lectureship (Lifetime) 📥 Download UGC NET Electronics PDFs Complete collection of previous year question papers, answer keys and explanations for Subject Code 88. Start Downloading 📂 View All Question Papers June 2025 - Question Paper Download PDF June 2025 - Solved Paper + Explanation ...

MATLAB Code for OTFS (Orthogonal Time Frequency Space)

MATLAB Code for OTFS (Orthogonal Time Frequency Space) %% Clear workspace clc; clear; close all ; %% Step 1: OTFS Parameters N_delay = 4; % Number of delay bins (rows) N_doppler = 4; % Number of Doppler bins (columns) N_sym = N_delay * N_doppler; modOrder = 4; % QPSK SNR_dB = 20; % Noise level %% Step 2: Generate random data symbols data = randi([0 modOrder-1], N_sym, 1); txSymbols = pskmod(data, modOrder, pi/4); disp( 'Transmitted Delay-Doppler symbols:' ); disp(reshape(txSymbols, N_delay, N_doppler)); %% Step 3: Map Delay-Doppler → Time-Frequency (ISFFT) % ISFFT: Inverse Symplectic Finite Fourier Transform % 1. Take IDFT along Doppler (columns) % 2. Take DFT along Delay (rows) ddSymbols = reshape(txSymbols, N_delay, N_doppler); % Step 3a: IDFT along columns (Doppler) tfGrid = ifft(ddSymbols, N_doppler, 2); %IFFT (accross columns) along Doppler → spreads in time (Delay → Time) %FFT (accross rows)along Delay → spreads in frequency (Delay → Frequency) % Step 3b: DFT along ...

Online Simulator for ASK, FSK, and PSK Signal Generation

Interactive Digital Signal Processing (DSP) Tutorial and Simulator for ASK, FSK, and BPSK modulation techniques. Try our new Digital Signal Processing Simulator!   •   Interactive ASK, FSK, and BPSK tools updated for 2025. Start Now Digital Modulation Visualizer: ASK, FSK, & BPSK Simulator Learn and visualize binary modulation techniques (ASK, FSK, BPSK) in real-time with adjustable carrier and sampling parameters. Perfect for DSP students and engineers. 📡 ASK Simulator 📶 FSK Simulator 🎚️ BPSK Simulator 📚 More Topics ASK Modulator FSK Modulator BPSK Modulator More Topics 1. ASK (Amplitude Shift Keying) Simulat...

OFDM Symbols and Subcarriers Explained

This article explains how OFDM (Orthogonal Frequency Division Multiplexing) symbols and subcarriers work. It covers modulation, mapping symbols to subcarriers, subcarrier frequency spacing, IFFT synthesis, cyclic prefix, and transmission. Step 1: Modulation First, modulate the input bitstream. For example, with 16-QAM , each group of 4 bits maps to one QAM symbol. Suppose we generate a sequence of QAM symbols: s0, s1, s2, s3, s4, s5, …, s63 Step 2: Mapping Symbols to Subcarriers Assume N sub = 8 subcarriers. Each OFDM symbol in the frequency domain contains 8 QAM symbols (one per subcarrier): Mapping (example) OFDM symbol 1 → s0, s1, s2, s3, s4, s5, s6, s7 OFDM symbol 2 → s8, s9, s10, s11, s12, s13, s14, s15 … OFDM sym...

Online Pulse Code Modulation (PCM) Simulator

Instructions for Pulse Code Modulation (PCM) Note: Use the input fields to enter values. Step 1: Generate Message Step 2: Plot Quantized Signal Step 3: Generate PCM Signal Message Frequency (Hz): Sampling Frequency (Hz): Quantization Levels: Generate Message Quantized PCM Quantization SNR (dB): Demodulation Cut-off Frequency Demodulate PCM Quantization Table Calculate Bits Levels Step Min Mid Max SNR Print Online Signal Processing Simulations Home Page >

QPSK Online Simulator (Signal Generation)

Simulator for QPSK Modulation Quadrature (4-PSK) Bitstream (Even length) Carrier Freq (Hz) Samples Per Symbol Run QPSK Simulation The Math Behind QPSK Quadrature Phase Shift Keying (QPSK) is a form of digital modulation that transmits two bits per symbol by changing the phase of a carrier wave. s(t) = A cos(2Ï€f c t + θ n ) Phase (θ n ): Each pair of bits (dibit) corresponds to a specific phase shift. In Gray coding, we use: "00" → Ï€/4 (45°) "01" → 3Ï€/4 (135°) "11" → 5Ï€/4 (225°) "10" → 7Ï€/4 (315°) Efficiency: Since 4 phases are used, QPSK carries double the data of BPSK in the same bandwidth. ...