Why does this model not produce a frequency spectrum of the time based pulse signal ?
显示 更早的评论
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.
回答(2 个)
Star Strider
2015-1-4
0 个投票
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:
- 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.
Derek Eccles
2015-1-7
0 个投票
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.)
Derek Eccles
2015-1-7
类别
在 帮助中心 和 File Exchange 中查找有关 Scopes and Data Logging 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!