0

I have a signal that is 507150 samples long and I want a spectrogram between samples 202336 and 234398 only. How should I format the spectrogram function? Or is there another method?

Matt1993
  • 105
  • 1
  • 3
  • 8
  • 2
    What's wrong with passing only the desired samples to `spectrogram`, _i.e_: `spectorgram(signal(202336:234398))`? – Eitan T Aug 29 '13 at 11:16

1 Answers1

1

I think it is as simple as this:

Assume x is your sample.

S=spectrogram(x(202336:234398))
Dennis Jaheruddin
  • 21,208
  • 8
  • 66
  • 122