Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
92 views5 pages

Exponential Fourier Series Analysis

This document describes an experiment involving the exponential Fourier series. It generates a signal with a frequency of pi/4 radians, samples it at intervals of 0.785, and calculates the Fourier coefficients. It then plots the magnitude and phase of the Fourier transform versus frequency and time to analyze the signal in both the frequency and time domains.

Uploaded by

John Tyson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
92 views5 pages

Exponential Fourier Series Analysis

This document describes an experiment involving the exponential Fourier series. It generates a signal with a frequency of pi/4 radians, samples it at intervals of 0.785, and calculates the Fourier coefficients. It then plots the magnitude and phase of the Fourier transform versus frequency and time to analyze the signal in both the frequency and time domains.

Uploaded by

John Tyson
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Experiment No.

1
Exponential Fourier
Series
n = -10:10;
fq =2*pi *(-10):2*pi:2*pi *(10); w = pi/4;
Timperiod = (2*pi)/w;
Freq =1/Timperiod;
Cons =-(w)*1i; h =
sinc(n*0.785);
D_n = (1/4)*exp(Cons*n);
final_n = (D_n).*(h);
Q = abs(final_n); stem(fq,Q)
title('Magnitude Plot')
xlabel('Frequency(rad/sec)')
ylabel ('Volt')

stem(n,Q)
title('Magnitude Plot')

1
xlabel('Time Sampling')
ylabel ('Magnitude')

stem(fq,angle(final_n))
title('Phase Plot')
xlabel('Frequency(rad/sec)')
ylabel ('Phase')

2
stem(n,angle(final_n))
title('Phase Plot')
xlabel('Time Sampling')
ylabel ('Phase')

3
w0 = (2*pi)/8;
syms t
Total =
sum(final_n.*exp(1i*n*w0*t)); t =
[0:0.01:32]; ezplot(Total,t)
title('Time Domain Signal')
xlabel('Time Linespace')

4
5

You might also like