Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello, I completed scrambling, descrambling, compressing and decompressing parts in MATLAB. I share the remaining parts and system parameters below. Please write the MATLAB codes,

Hello, I completed scrambling, descrambling, compressing and decompressing parts in MATLAB. I share the remaining parts and system parameters below. Please write the MATLAB codes, not only explanation.

*************************** System Parameters ************************

M = 2; % modulation order

K0=20; %Carrier frequency multiplier

Tb = 1; % bit interval(sec)

br = 1/Tb; % Bit rate

Fc = br*K0; % Carrier frequency

Tc=1/Fc;

fs=Fc*10; % sampling rate

ts = 1/fs; % sampling time of the pulse (for Matlab realization)

Nbits = ??????; %number of transmitted bits

sig_dur=Nbits*Tb;

symbol_dur=Tb*ts;

t = (0: ts : sig_dur-ts ); % defining pulse duration

N_samp=Tb*fs; %nb

Ac = 1; % Carrier amplitude for binary input '1'

Delta_f=10; %Freq deviation

Task 1: Write a MATLAB code (matlab_code_1) to implement the following task: For an image in jpeg format, after scrambling and compressing the binary data representing the image, then transmit the binary data over the wireless communication system operating one of the binary modulation/demodulation techniques (BASK or BPSK) assuming a noiseless channel (noise = 0). Show that at Bob's side, the receiver recovers the original image. On the other hand, at the receiver of Eve, the original image cannot be recovered in its original shape, without using the same descrambling as Bob.

Task 2: Write a MATLAB code (matlab_code_2) to implement the following task: For an image in jpeg format, after scrambling and compressing the binary data representing the image, then transmit the binary data over the wireless communication system operating one of the binary modulation/demodulation techniques (BASK or BPSK) assuming a noisy channel (noise 0). Using the Monte-Carlo simulation, obtain and plot the bit error rate (BER) of the system as a function of SNR in dB from 0 dB to 12 dB).

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions

Question

3. What should a contract of employment contain?

Answered: 1 week ago

Question

1. What does the term employment relationship mean?

Answered: 1 week ago