Demonstration of Fourier transformation

The first file construct signals from Fourier terms The second file analyzes actual signals

You are now following this Submission

These are two M-files “fourier1” and “fourier2” The first is designed to demonstrate how triangular, rectangular, saw tooth, half wave and full wave rectified signals can be built from superposition of a predefined no of Fourier harmonic terms. It demonstrates how increasing the number of terms included in the summation will improve the signal shape.
The second file is useful for analyzing actual audio signals connected to the PC line in port of the sound card. The out put of the program is plot showing all harmonic amplitudes contained in the signal.. It can be used with a microphone, a signal generator, or with any sound pre-recorded or saved and being played on the PC.

Cite As

aasim Azooz (2026). Demonstration of Fourier transformation (https://www.mathworks.com/matlabcentral/fileexchange/27301-demonstration-of-fourier-transformation), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Fourier Analysis and Filtering in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.3.0.0

more flexible data sampling rates, and number of data points

1.0.0.0