Results 1 to 2 of 2

Math Help - matlab modulation schemes...

  1. #1
    Newbie
    Joined
    Nov 2009
    Posts
    1

    matlab modulation schemes...

    Hi im looking for some help with matlab im new to it and have to compare modulation schemes using Matlab. My model should create a data stream, modulate the data with a variety of modulation schemes e.g AM, FM, PSK, FSK, QAM, OFDM and pass the data through a noisy channel, demodulate the data and measure the performance based on a wireless channel...

    I found the following code on creating noise using the randn function but would awgn do the same thing?

    x = 0:0.01:2;
    noise = 0.02*randn(size(x));
    y = 5*x.*exp(-3*x) + noise;
    plot(x,y,'o');

    xlabel('x (arbitrary units)');
    ylabel('y (arbitrary units)');
    title('Plot of y = 5*x*exp(-3*x) + noise');

    Follow Math Help Forum on Facebook and Google+

  2. #2
    Grand Panjandrum
    Joined
    Nov 2005
    From
    someplace
    Posts
    14,972
    Thanks
    4
    Quote Originally Posted by dingdangdoo View Post
    Hi im looking for some help with matlab im new to it and have to compare modulation schemes using Matlab. My model should create a data stream, modulate the data with a variety of modulation schemes e.g AM, FM, PSK, FSK, QAM, OFDM and pass the data through a noisy channel, demodulate the data and measure the performance based on a wireless channel...

    I found the following code on creating noise using the randn function but would awgn do the same thing?

    x = 0:0.01:2;
    noise = 0.02*randn(size(x));
    y = 5*x.*exp(-3*x) + noise;
    plot(x,y,'o');

    xlabel('x (arbitrary units)');
    ylabel('y (arbitrary units)');
    title('Plot of y = 5*x*exp(-3*x) + noise');
    y=awgn(signal,snr)

    will add Gaussian white noise to signal with the given snr in dB (according to the documentation anyway).

    CB
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Replies: 9
    Last Post: July 2nd 2010, 02:11 PM
  2. Implicit Numerical Schemes
    Posted in the Differential Equations Forum
    Replies: 0
    Last Post: November 26th 2009, 01:17 PM
  3. Angle modulation applied math
    Posted in the Advanced Applied Math Forum
    Replies: 2
    Last Post: May 17th 2009, 04:41 PM
  4. Iterative schemes of the form x=g(x)
    Posted in the Calculus Forum
    Replies: 3
    Last Post: January 5th 2007, 11:10 PM

Search Tags


/mathhelpforum @mathhelpforum