fourier series - fourier transform
1 回表示 (過去 30 日間)
古いコメントを表示
i want fourier and fourier transform of the " u " .
t = 0:0.001:0.334;
u = ones(size(t)).*(t >= 0).*(t <= 0.02)+zeros(size(t)).*(t > 0.02).*(t < 0.287)+ones(size(t)).*(t >= 0.287).*(t <= 0.307)+zeros(size(t)).*(t > 0.307).*(t <= 0.335);
2 件のコメント
Azzi Abdelmalek
2013 年 10 月 25 日
Fourier and Fourier transform, What is the difference between the two?
回答 (1 件)
Jamie
2013 年 10 月 27 日
編集済み: Jamie
2013 年 10 月 27 日
Hey Ebi,
The choice of fourier transform or fourier series simply depends on whether the signal is periodic or aperiodic.
To obtain the transform
help fft
Cheers
2 件のコメント
Jamie
2013 年 10 月 28 日
編集済み: Jamie
2013 年 10 月 28 日
Hey Ebi, I would be looking at the curve fitting tool (fourier series ~ periodic). From my understanding you're simply attempting to fit a curve to the signal 'u' with elements acos()+ bsin ().. etc. All you need to do is specify the number of terms and apraise the fit.
have a look at the link I pasted above.
Cheers
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!