How can I find fft of this function

1 回表示 (過去 30 日間)
Niloufar
Niloufar 2022 年 10 月 20 日
回答済み: Fabio Freschi 2022 年 10 月 20 日
I want to find fft of this function.How can I do that?
T = 2*pi; t = linespace(-T,T,100); x1 = zeros(1,length(t)); x1(abs(t)<T/4) = 1;

回答 (1 件)

Fabio Freschi
Fabio Freschi 2022 年 10 月 20 日
try with fft

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by