How to plot the spectrum of a signl of "ones"

1 view (last 30 days)
I need to plot the frequency spectrum of an "ones" function like in this image: https://screenshots.firefox.com/kPEJ1moZvdAtG7To/cld.pt
First of all I am not being able to plot a correct graph.
Second, in the spectrum imagem the first frequency "S" is okay, but where does the other frequencies come from?
Thanks, in advance!
  1 Comment
Naman Bhaia
Naman Bhaia on 20 Mar 2019
Can you post the picture here as a comment and also show what you have tried? This way anoyone trying to solve this will have a starting point.

Sign in to comment.

Answers (0)

Categories

Find more on Graphics in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!