1D Fourier Transform for square pulse

i want to generate and plot 1D Fourier Transform for a square pulse with the duration of 32 points. I want to plot both imaginary and real parts using a total of 256 points. Can I get some help please?

Answers (1)

doc zeros
doc ones
doc fft
doc imag
doc real
doc plot

Categories

Find more on Fourier Analysis and Filtering in Help Center and File Exchange

Asked:

on 24 Sep 2014

Answered:

on 25 Sep 2014

Community Treasure Hunt

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

Start Hunting!