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?
Asked
Active
Viewed 105 times
0
-
2What'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 Answers
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