Write a matlab code to generate fourier series for continuous periodic functions.

6 ビュー (過去 30 日間)
Abhishek Irwin
Abhishek Irwin 2020 年 8 月 20 日
回答済み: Shubham Rawat 2020 年 8 月 25 日
Fourier series for continuous periodic functions
  1 件のコメント
Geoff Hayes
Geoff Hayes 2020 年 8 月 20 日
Abhishek - is this homework? Please show us what you have tried so far.

サインインしてコメントする。

回答 (1 件)

Shubham Rawat
Shubham Rawat 2020 年 8 月 25 日
Hi Abhishek,
Here is an example of generating fourier transform of a continous funtion:
a = 1;b = 1; %initializing constants.
t = 0:0.01:1;
f = a*sin(b*t); % sine function
f_FT = fourier(f) %fourier transformation
You may refer the link below for more details:

Community Treasure Hunt

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

Start Hunting!

Translated by