Urgent ! need help with my project

Status
Not open for further replies.

ratel

Newbie level 1
Joined
Jan 29, 2011
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,287
I am a newbie, and i would really appriciate the help of you guys. This project is required to my Digital communication course. Due to many issues and the huge projects that im working on i cant finish it, and it need to submit it tomorrow till 11:59PM otherwise i'll fail the course. please help me with the Matlab code.

Here's the Project Details
 

Attachments

  • Image.jpg
    223.9 KB · Views: 136


I think just go through the basic matlab code given as example in the communication tool box ....You can get the answers to the first twio parts of the problem
Quoting the matlab Help communication tool box
"

Modulating a Random Signal


This first example addresses the following problem:

Problem Process a binary data stream using a communication system that consists of a baseband modulator, channel, and demodulator. Compute the system's bit error rate (BER). Also, display the transmitted and received signals in a scatter plot.


This the Begining of the code
sample

%program to generate random bits

%% Setup
% Define parameters.
M = 16; % Size of signal constellation
k = log2(M); % Number of bits per symbol
n = 3e4; % Number of bits to process
nsamp = 1; % Oversampling rate

%% Signal Source
% Create a binary data stream as a column vector.
x = randint(n,1); % Random binary data stream

% Plot first 40 bits in a stem plot.
stem(x(1:400),'filled');
title('Random Bits');
xlabel('Bit Index'); ylabel('Binary Value');
 
Reactions: ratel

    ratel

    Points: 2
    Helpful Answer Positive Rating
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…