MATLAB Fourier Series Urgent assistance

조회 수: 1 (최근 30일)
Sha Ka
Sha Ka 2014년 9월 12일
편집: Sha Ka 2014년 9월 12일
for some reason I can't set it up. I'm used to plotting Bode Plots and Frequency Response and semilogx but I have no idea about how to do it with Fourier Series. I know it's between -2T and +2T. But I don't know how to code it. I don't know where to start. And how would I be able to change the maximum value of n and having the same line.
How do I go about producing a fundamental frequency? I really need help and I would appreciate any answers.
Thank you.

채택된 답변

Salaheddin Hosseinzadeh
Salaheddin Hosseinzadeh 2014년 9월 12일
Hi,
Define a sampling frequency of 100 KHz, then create a sine wave, of 50 Hz use fft to verify it's frequency. That will be a good start.
I attached a file to this answer, on how to use fft, it helped people having the same problem, should be good for you as well.
Let us know about your progress.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Fourier Analysis and Filtering에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by