How to approach a matlab task [closed]











up vote
0
down vote

favorite












This is homework involving matlab, how do I begin to do this task without much in-depth matlab knowledge? I.e what do I start from?



task



I've began with this, but I'm unsure how to continue



n=500;
x=randint(n,1,16); %500 random characters
%modulation
y = qammod(x,16); %signal generation for QAM16 modulation
y_noise = awgn(y,30,'measured'); %add white Gousian Noise SNR 30 dB
%demodulation
z = qamdemod(y_noise,16); %signal demodulation
%data visualization
sy=scatterplot(y,1,0,'b*');
hold on;
scatterplot(y_noise,1,0,'g.',sy);
legend('Signal Constellation','Received Signal');
hold off;
%error calculation
error=z-x; %non zero is error










share|improve this question















closed as off-topic by bertieb, DavidPostill Nov 27 at 22:46


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – DavidPostill

If this question can be reworded to fit the rules in the help center, please edit the question.

















    up vote
    0
    down vote

    favorite












    This is homework involving matlab, how do I begin to do this task without much in-depth matlab knowledge? I.e what do I start from?



    task



    I've began with this, but I'm unsure how to continue



    n=500;
    x=randint(n,1,16); %500 random characters
    %modulation
    y = qammod(x,16); %signal generation for QAM16 modulation
    y_noise = awgn(y,30,'measured'); %add white Gousian Noise SNR 30 dB
    %demodulation
    z = qamdemod(y_noise,16); %signal demodulation
    %data visualization
    sy=scatterplot(y,1,0,'b*');
    hold on;
    scatterplot(y_noise,1,0,'g.',sy);
    legend('Signal Constellation','Received Signal');
    hold off;
    %error calculation
    error=z-x; %non zero is error










    share|improve this question















    closed as off-topic by bertieb, DavidPostill Nov 27 at 22:46


    This question appears to be off-topic. The users who voted to close gave this specific reason:


    • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – DavidPostill

    If this question can be reworded to fit the rules in the help center, please edit the question.















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      This is homework involving matlab, how do I begin to do this task without much in-depth matlab knowledge? I.e what do I start from?



      task



      I've began with this, but I'm unsure how to continue



      n=500;
      x=randint(n,1,16); %500 random characters
      %modulation
      y = qammod(x,16); %signal generation for QAM16 modulation
      y_noise = awgn(y,30,'measured'); %add white Gousian Noise SNR 30 dB
      %demodulation
      z = qamdemod(y_noise,16); %signal demodulation
      %data visualization
      sy=scatterplot(y,1,0,'b*');
      hold on;
      scatterplot(y_noise,1,0,'g.',sy);
      legend('Signal Constellation','Received Signal');
      hold off;
      %error calculation
      error=z-x; %non zero is error










      share|improve this question















      This is homework involving matlab, how do I begin to do this task without much in-depth matlab knowledge? I.e what do I start from?



      task



      I've began with this, but I'm unsure how to continue



      n=500;
      x=randint(n,1,16); %500 random characters
      %modulation
      y = qammod(x,16); %signal generation for QAM16 modulation
      y_noise = awgn(y,30,'measured'); %add white Gousian Noise SNR 30 dB
      %demodulation
      z = qamdemod(y_noise,16); %signal demodulation
      %data visualization
      sy=scatterplot(y,1,0,'b*');
      hold on;
      scatterplot(y_noise,1,0,'g.',sy);
      legend('Signal Constellation','Received Signal');
      hold off;
      %error calculation
      error=z-x; %non zero is error







      matlab






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 27 at 16:56

























      asked Nov 27 at 16:43









      Arnold

      11




      11




      closed as off-topic by bertieb, DavidPostill Nov 27 at 22:46


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – DavidPostill

      If this question can be reworded to fit the rules in the help center, please edit the question.




      closed as off-topic by bertieb, DavidPostill Nov 27 at 22:46


      This question appears to be off-topic. The users who voted to close gave this specific reason:


      • "Questions seeking product, service, or learning material recommendations are off-topic because they become outdated quickly and attract opinion-based answers. Instead, describe your situation and the specific problem you're trying to solve. Share your research. Here are a few suggestions on how to properly ask this type of question." – DavidPostill

      If this question can be reworded to fit the rules in the help center, please edit the question.



























          active

          oldest

          votes






















          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes

          Popular posts from this blog

          Index of /

          Tribalistas

          Listed building