Hey everyone,
In the example program - /examples/wireless/wifi-spectrum-per-interference.cc, what is the significance of the following statements -
Ptr<SpectrumValue> wgPsd = Create<SpectrumValue> (SpectrumModelWifi5180MHz);
*wgPsd = waveformPower / (100 * 180000);
NS_LOG_INFO ("wgPsd : " << *wgPsd << " integrated power: " << Integral (*(GetPointer (wgPsd))));
What is the reason for dividing the waveformPower by (100*180000)? I've tried going through literature and tutorial guides, but couldn't find the exact reason for this.
I've attached the source file in this thread. Thanks!
Varun