Question

In: Computer Science

Using MATLAB to plot a communication system using PAM (binary) through AWGN discrete-time channel . PLZ...

Using MATLAB to plot a communication system using PAM (binary) through AWGN discrete-time channel . PLZ show your code and plot.

Solutions

Expert Solution

AWGN discrete-time channel :

Syntax:

berub = bercoding(EbNo,'conv',decision,coderate,dspec)

berub = bercoding(EbNo,'block','hard',n,k,dmin)

berub = bercoding(EbNo,'block','soft',n,k,dmin)
berapprox = bercoding(EbNo,'Hamming','hard',n)
berub = bercoding(EbNo,'Golay','hard',24)
berapprox = bercoding(EbNo,'RS','hard',n,k)
berapprox = bercoding(...,modulation)

Description:

berub = bercoding(EbNo,'conv',decision,coderate,dspec) returns an upper bound or approximation on the BER of a binary convolutional code with coherent phase shift keying (PSK) modulation over an additive white Gaussian noise (AWGN) channel. EbNo is the ratio of bit energy to noise power spectral density, in dB. If EbNo is a vector, berub is a vector of the same size, whose elements correspond to the different Eb/N0 levels. To specify hard-decision decoding, set decision to 'hard'; to specify soft-decision decoding, set decision to 'soft'. The convolutional code has code rate equal to coderate. The dspec input is a structure that contains information about the code's distance spectrum:

  • dspec.dfree is the minimum free distance of the code.

  • dspec.weight is the weight spectrum of the code.

  • berub = bercoding(EbNo,'block','hard',n,k,dmin) returns an upper bound on the BER of an [n,k] binary block code with hard-decision decoding and coherent BPSK or QPSK modulation. dmin is the minimum distance of the code.

  • berub = bercoding(EbNo,'block','soft',n,k,dmin) returns an upper bound on the BER of an [n,k] binary block code with soft-decision decoding and coherent BPSK or QPSK modulation. dmin is the minimum distance of the code.

    berapprox = bercoding(EbNo,'Hamming','hard',n) returns an approximation of the BER of a Hamming code using hard-decision decoding and coherent BPSK modulation. (For a Hamming code, if n is known, then k can be computed directly from n.)

    berub = bercoding(EbNo,'Golay','hard',24) returns an upper bound of the BER of a Golay code using hard-decision decoding and coherent BPSK modulation. Support for Golay currently is only for n=24. In accordance with [3], the Golay coding upper bound assumes only the correction of 3-error patterns. Even though it is theoretically possible to correct approximately 19% of 4-error patterns, most decoders in practice do not have this capability.

    berapprox = bercoding(EbNo,'RS','hard',n,k) returns an approximation of the BER of (n,k) Reed-Solomon code using hard-decision decoding and coherent BPSK modulation.

    berapprox = bercoding(...,modulation) returns an approximation of the BER for coded AWGN channels when you specify a modulation type. See the berawgn function for a listing of the supported modulation types.

Binary PAM Modulator:

Using blocks from the SIMULINK Block Library, the Signal Processing Blockset, and the Communications Blockset, design a modulator (below) for the system model above. Use the modulator to send the sequence 1 -1 -1 1.
The modulator is composed of four blocks. The first block can be found at

DSP Blockset --> DSP Sources --> Signal From Workspace


Drag this block to your project window. Double-click on the Signal From Workspace block and set the block parameters.


Related Solutions

Plot the original data and the regression “line” ************USING Matlab************. "Submit plot" USING MATLAB! USING MATLAB!...
Plot the original data and the regression “line” ************USING Matlab************. "Submit plot" USING MATLAB! USING MATLAB! USING MATLAB! ONLY BY USING MATLAB!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 14.9 The concentration of E. coli bacteria in a swimming area is monitored after a storm: t (hr)                     4           8         12        16    20 24 c (CFU/100 mL) 1600     1320   1000     890 650 560 The time is measured in hours following the end of the storm and the unit CFU is a .colony forming unit.. Use this data to estimate (a)...
Matlab Implement Fading Channel Simulation: Jakes Model with using Matlab
Matlab Implement Fading Channel Simulation: Jakes Model with using Matlab
Derive the equivalent discrete-time model of a wireless communication system with quasi-static frequency-selective fading.
Derive the equivalent discrete-time model of a wireless communication system with quasi-static frequency-selective fading.
write a matlab code to simulate fiber optics communication system on matlab simulink
write a matlab code to simulate fiber optics communication system on matlab simulink
Using MATLAB plot path loss prediction versus distance and log distance for a cellular system you...
Using MATLAB plot path loss prediction versus distance and log distance for a cellular system you are designing with the following assumptions: PCS frequency (1900 MHz), base height 20 m, mobile 2 m, suburban area, flat terrain with moderate tree density.
Find frequency response of the system given by following equation using MATLAB. Clearly plot both amplitude...
Find frequency response of the system given by following equation using MATLAB. Clearly plot both amplitude and phase response waveforms with labels assigned. y[n+1]-0.5 y[n]=x[n] Matlab code would be greatly appreciated
Communication Systems/Electronics Draw the circuit diagram and plot the time domain for flat top sampling using...
Communication Systems/Electronics Draw the circuit diagram and plot the time domain for flat top sampling using a real world electronics example. Add the references used for your answer.
What is the satellite communication system, how is the communication process through it, and what are...
What is the satellite communication system, how is the communication process through it, and what are its types , explain it ? "I hope the answer is clear to read it"
What is the satellite communication system, how is the communication process through it, and what are...
What is the satellite communication system, how is the communication process through it, and what are its types , explain it ?
Suppose a binary message is transmitted through a noisy channel. The transmitted signal S has uniform...
Suppose a binary message is transmitted through a noisy channel. The transmitted signal S has uniform probability to be either 1 or −1, the noise N follows normal distribution N(0,4) and the received signal is R=S+N . Assume the receiver conclude the signal to be 1 when R>=0 and -1 when R<0 . 1. What is error probability when one signal is transmitted? 2. What is error probability when one signal is transmitted if we triple the amplitude of the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT