Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Modelling BPSK etc from a DDS architecture?

  • 11-03-2010 03:16PM
    #1
    Registered Users, Registered Users 2 Posts: 22


    I am trying to adjust the basic direct digital synthesis model I have coded to display ASK etc but I dont no where to start. I assume ASK can be shown using a random number generater based on the values of 0 or 1.
    This is the code I have came up with

    r = 1024;
    fsw = 8;
    latch = 0;
    j = zeros(256);
    n1 = 0:1:r;
    n2 = 1:256;

    rom = cos(2*pi*n1/r);

    for i = 1:256, latch = latch + fsw;
    while latch >= r, latch = (latch - r) + 1;
    end
    j(i) = rom(latch);
    end

    %x = fft2(j);
    plot(n2,j);

    Does anyone have any ideas?
    Please dont point me to google!


Advertisement