Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Please answer both:) 1. Suppose a continuous message signal m(t) is given below: m(t) = 2.5 + sin(2nt) + sin(4ttt) + sin(6nt) [Osts 2] Now
Please answer both:)
1. Suppose a continuous message signal m(t) is given below: m(t) = 2.5 + sin(2nt) + sin(4ttt) + sin(6nt) [Osts 2] Now write a MATLAB program to perform 3-bit ADC on it. Your program should take the value of bit depth n as user input. Check for maximum amplitude on m(t). 2. The following program will convert a discrete digital data b = [0110 1 ) into a continuous digital signal mt. - clc; clear all N 2 3 - 1 b = [01101]; n = length(b); $ digital bits - . Joon 11 subplot (2,1,1) plot (b, ro-', 'linewidth', 4) 10 -- mt = []; for i = 0: 1: n-1; mt ( (i*100) +1 : 1 : ((i+1)*100) +1 ) = b(i+1); 11 - 12 - end 13 t = 0 : (1/100) : n; 14 - 15 16 - 17 - subplot (2,1,2) plot(t, mt, 'linewidth', 4) 0:51 35 os 05 3.5 5 Use the code above to create digital continuous signal mt. Now, for this continuous digital signal mt-101101), create a MATLAB program which will 2.1 Convert this digital continuous message signal mt into an ASK signal whose- Carrier frequency - 5 Minimum amplitude (for logic 0) - 1 Maximum amplitude (for logic 1) - 5 Plot digital continuous message signal, carrier signal, and ASK signal. 2.2 Convert this digital continuous message signal mt into an PSK signal whose Carrier frequency=5 Minimum phase (for logic 0) = 0 Maximum phase (for logic 1) = 1/2 Plot digital continuous message signal, carrier signal, and PSK signal. 2.3 Perform a digital modulation combining the ASK and PSK techniques. Both of the amplitude and phase of the modulated signal should vary when digital message signal changes its state (check the figures below). The output modulated signal must have the following properties. Carrier frequency=5 Minimum amplitude (for logic 0) - 5 Maximum amplitude (for logic 1) = 10 Minimum phase (for logic 0) = 0 Maximum phase (for logic 1)=-1/3 Then plot both digital carrier signal, and the combined ask+psk signals (check figure below). Figure Digital Signal 1.5 1 0.5 0 -0.5 3 Carrier Signal Combined Modulated Signal Assign ihnen min wwwwwwwww 4 1 Both amplitude and phase change at these points 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