Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

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