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;

Etiquetas

Preguntada:

el 20 de Oct. de 2022

Respondida:

el 20 de Oct. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by