Be the first to rate this file! 10 Downloads (last 30 days) File Size: 2.59 KB File ID: #23048

Generate FM noise sidebands on a carrier using randn fn

by Rick McConnell

 

20 Feb 2009 (Updated 21 Jun 2011)

Generate and plot noise sidebands using randn modulation of a carrier.

| Watch this File

File Information
Description

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.

MATLAB release MATLAB 7.2 (R2006a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
22 Jun 2011 Martin

I want to take this a bit farther. We have designed and tested a transceiver with dual DDS chips and a very linear summer for VCO FM/FM modulation. Now I need to make it all digital. The secondary sine waveform comes from the DSP but the primary triangle is embedded in the VCO chip. How do I combine them properly in the VCO for FM/FM modulation? I am confused on how to execute this plan.
Thanks.
Marty

Please login to add a comment or rating.
Updates
21 Jun 2011

I improved some descriptions, plots, and variable names to make the function clearer.

Tag Activity for this File
Tag Applied By Date/Time
communications Rick McConnell 20 Feb 2009 13:54:57
signal processing Rick McConnell 20 Feb 2009 13:54:57
simulation Rick McConnell 20 Feb 2009 13:54:57
pll Rick McConnell 21 Jun 2011 16:02:16
vco Rick McConnell 21 Jun 2011 16:02:16
synthesizer Rick McConnell 21 Jun 2011 16:02:16

Contact us at files@mathworks.com