Calculating the exponential Fourier series of the signals

11 views (last 30 days)
I am trying to write a Matlab program to calculate the exponential Fourier series of the signals (a) and (c) in the image below:
However I am struggling to plot these signals and calculate the exponential Fourier series.
Any help would be greatly appreciated.
  2 Comments
Kole Bacon
Kole Bacon on 12 Feb 2018
See page 80 of the book. It shows you exactly how to write the MATLAB code.
Sincerely,
Another ECE457 Student

Sign in to comment.

Answers (1)

Mohamed Sebnat
Mohamed Sebnat on 12 Feb 2018
Edited: Mohamed Sebnat on 12 Feb 2018
1- for each of you signals (a) and (c) there is a built-in fucntion in matlab to generate them : see th function swatooth for (c), for (a) it is a simple rectangular function, look for it. 2- for calculating the exponential Fourier series look for fourier transform in the help browser of Matlab.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!