Spectrogram between indices matlab

119 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 answers

0
Dennis Jaheruddin On BEST ANSWER

I think it is as simple as this:

Assume x is your sample.

S=spectrogram(x(202336:234398))