Generate FM noise sidebands on a carrier using randn fn
The file calculates and plots FM noise sidebands for a carrier. It also does sinusoidal modulation. This simple way of adding noise to a carrier is useful for simulation of PLLs. It turns out, though, that the mean of the randn function is not as close to zero as it could be, and this causes the fft to generate extra sideband energy, which makes it appear as if the noise is not what would be expected. This program gets around this by adding a fudge factor to the randn results to eliminate this problem. It took me ages to figure this out, I hope to reduce a similar effort for others.
Zitieren als
Rick McConnell (2025). Generate FM noise sidebands on a carrier using randn fn (https://www.mathworks.com/matlabcentral/fileexchange/23048-generate-fm-noise-sidebands-on-a-carrier-using-randn-fn), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.1.0.0 | I improved some descriptions, plots, and variable names to make the function clearer. |
||
1.0.0.0 |