MATLAB function for square and sawtooth waves

1 回表示 (過去 30 日間)
cg
cg 2021 年 3 月 23 日
回答済み: Shivang Srivastava 2021 年 3 月 26 日
Write a function that calculates the Fourier series of 1) a square wave and 2) a sawtooth wave of fundamental frequency f = 440 Hz (remember to convert to radian frequency). Calculate the series out to 20 harmonics. The trigonometric Fourier series for each is given below. Use A = 1 for the sawtooth wave.
I am struggling to begin this assignment. If anyone could point me in the correct direction that would be much appreciated! I am a beginner with MATLAB.

回答 (1 件)

Shivang Srivastava
Shivang Srivastava 2021 年 3 月 26 日
Here is the documentation of Fourier series which will help you in understanding Fourier Series in MATLAB.

カテゴリ

Help Center および File ExchangeMATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by