Spectrogram between indices matlab

149 Views Asked by At

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?

1

There are 1 best solutions below

0
On BEST ANSWER

I think it is as simple as this:

Assume x is your sample.

S=spectrogram(x(202336:234398))