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

6 vues (au cours des 30 derniers jours)
Abhishek Irwin
Abhishek Irwin le 20 Août 2020
Fourier series for continuous periodic functions
  1 commentaire
Geoff Hayes
Geoff Hayes le 20 Août 2020
Abhishek - is this homework? Please show us what you have tried so far.

Connectez-vous pour commenter.

Réponses (1)

Shubham Rawat
Shubham Rawat le 25 Août 2020
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