Hi:
I'm running some Ptolemy data into a time sink, and I'd like to get the right spectral power using the fs() command, but I'm running into trouble. When I plot dBm(fs(SignalOut)), I get a peak spectrum value that is 10 to 20 dB lower than the calculated value based on the input signal to the TimedSink. Are there any examples that go into the detail's of the output scaling in fs()
Thanks
Dave
The SpectrumAnalyzer and SpectrumAnalyzerResBW Ptolemy components use fs() internally but they normalize the spectrum so that the power in the spectrum is the same as the power in the input time domain signal.
For questions related to fs() the proper area is the General one, so I will move this topic there.