- Sample rate (Hz) — The sample rate, in hertz, of the input signals.
- Note: The Spectrum Analyzer block always sets this parameter to Inherited. The sample rate is always the same as the input signal, and cannot be modified directly.
Why does this model not produce a frequency spectrum of the time based pulse signal ?
2 次查看(过去 30 天)
显示 更早的评论
Having great difficulty using the spectrum analyzer.
Have looked at all of the online help but still cannot master it.
It seems to be asking for a sampling time to be setup ? Which I would expect and understand, but there doesn't appear to be anywhere to do this on the configuration menus for the analyzer.
0 个评论
回答(2 个)
Star Strider
2015-1-4
I don’t have the DSP System Toolbox, so I can’t experiment with the Spectrum Analyzer. However, in the documentation under Spectrum Settings is:
0 个评论
Derek Eccles
2015-1-7
2 个评论
Star Strider
2015-1-7
编辑:Star Strider
2015-1-7
Unfortunately, I don’t have it to experiment with.
From my experience, you will have to sample your analog signal somehow in order for any discrete signal processing functions to work with it. I would concentrate on doing that first, since according to the documentation, functions that you use to process the signal inherit the sampling rate from the signal.
Meanwhile, hope that someone with experience with the DSP Toolbox sees this and provides a definitive solution. (I added a tag and product association, so maybe that will help.)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!