How can I find fft of this function

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;

Tag

Richiesto:

il 20 Ott 2022

Risposto:

il 20 Ott 2022

Community Treasure Hunt

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

Start Hunting!

Translated by