Question
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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started