Professional Documents
Culture Documents
MATLAB Tutorial Fourier
MATLAB Tutorial Fourier
1. Generate a square wave of amplitude 1 (min –1 to max +1) and period T = 0.2 s. Display
the square wave from 0 to 1.0 s. Use the MATLAB function ‘square’ (type help square
for a basic description or search the help window for more detailed explanation).
2. Generate a square wave of amplitude 4 (min 0 to max 8) with period T = 0.1 s. Display
the signal from 0 to 2.0 s.
3. Consider the pulse train shown in the figure.
k cos k t (1)
2
N
2 ( k 1) / 2
x(t ) 0.5 1
k 1
k odd