Code for part a-part e
fs=96000;
ts=1/fs;
t=0:ts:5-ts;
speech=audiorecorder(fs,16,1);
recordblocking(speech,5);
m=getaudiodata(speech);
m=m';
sound(m,fs);
plot(t,m); %frequency wave response of recorded signal (1st
Figure)
xlim([1 4]); %shows 1 wave of sound recorded in 5 seconds
title('Frequency Response');
xlabel('Time (seconds)');
ylabel('Message signal m(t)');
spectrum(t,m); %provides power spectrum of the signal message (2nd figure)
freqz(t,m) %provide frequency response and phase response (3rd figure)
q=fft(m);
tt=fftshift(abs(q));
plot(t,tt); %Another way of finding frequency response (4th
figure)
xlim([1.5 3.5]);
ylim([0 1000]);
title('Frequency Response');
xlabel('Time (seconds)');
ylabel('Message signal m(t)');
part f
Code Continued
c=cos(2*pi*10000*t);
y=m.*c;
r=fft(y);
u=fftshift(abs(r));
plot(t,u);
xlim([1.5 3.5]);
ylim([0 800]);
title('Frequency Response');
xlabel('Time (seconds)');
ylabel('Message signal y(t)');
1. (9 points) In this Question, we are going to perform DSBSC modulation using MAT- LAB....
NB! This task is required to be solved in matlab. this task also requires the use of the function displayDualSpectrum();
which i have pasted in the bottom. the tasks that i need help with are A), B) and C). this is a multi-part question.
Task - Frequency mixing
We use a basic signal that can be described mathematically as follows:
with this We shall then make an amplitude modulated signal: where fc is the carrier frequency. the code below specifies...
Consider the message signal m(t):a. Sketch the AM signal u(t)=[ A + m(t) ] Cos(wct) for modulation indexes μ = 0.5 and μ = 2.0 by assuming the carrier frequency to be much higher than the bandwidth of m(t) b. Determine the efficiency percentage (η = ps/pt) for μ = 0.5. Herein, Ps and Pt are sideband and total powers respectively, and Pt= Ps + Pc , in which Pc is the carrier power. Hint : Take into account the Parseval's property. c. If the AM waveforms corresponding...
Program from problem 1: (Using MATLAB)
% Sampling frequency and sampling period
fs = 10000;
ts = 1/fs;
% Number of samples, assume 1000 samples
l = 1000;
t = 0:1:l-1;
t = t.*ts; % Convert the sample index into time for generation and
plotting of signal
% Frequency and amplitude of the sensor
f1 = 110;
a1 = 1.0;
% Frequency and amplitude of the power grid noise
f2 = 60;
a2 = 0.7;
% Generating the sinusoidal waves...
Suppose that we have a sinc-function message signal m(t) as
shown in the figure. We perform AM modulation with a carrier
frequency of 10π krad/s and with a proper DC shift so that envelope
detection can be used for demodulation.
Which one of the resistor values below is suitable to use with a
1nF capacitor for proper envelope detection?
(See the "Hints" part at the end of the Reference Sheet for the
range of RC)
URGENT !!! I JUST NEED...
Please explain in detail and use MATLAB code. Thank you.
Prob. 4-1 FM and PM are, respectively, defined as FM: A cos ((t) PM: A cos (kpm(t)) The FM and PM coefficients. kf and kp are kf-100 and kp-2, respectively. The carrier frequency is 400 Hz (1) Plot both the time-domain and frequency-domain representation for two independent message signals, m1(t) and m2(t) using MATLAB. Figure 1 is, again, the illustration of the Rectangular pulse (a) Tn1(t) = 11(t _ 0.5)...
4.1. Preliminary work Derive an expression for the output of the
product detector from the block diagram in Figure 4-1 Product
Detector assuming that the input is a single tone modulated DSBSC
signal. Also show the effect on the output if the local carrier is
out of phase from the modulated carrier by 45 degree.
4. DSB-SC (Suppressed Carrier) Detection Demodulation of DSB-SC signals is achieved by using a product detector as shown in Figure 4-1 Product Detector below. The...
Please do Part 4 and Show all work!
1. 145 points) <FM/FSK Modulation/Demodulations A periodic wave m(t) in Figure 1 below The resulting FM signal is demodulated as shown in the following figure by using frequency discriminator. Assume no attenuation of the signal due to propagation loss (in other words assume amplifiers properly restored the amplitude of the transmitted signal at the receiver) [10 points] Find the Fourier Series (trigonometric Fourier Series) of the message signal m (t) where To...
Question 4 (35 points). Two message signals, ?1 (?) =
200??(100??) cos(103πt) volts and ?2 (?) = 900??2 (450??)
cos(103πt) volts, are required to be combined and then transmitted
over a channel around 2 MHz using amplitude double-side modulation.
We assume that the channel is ideal with no delay and no
attenuation. Design a system consisting of mixers, filters, etc. to
transmit and restore perfectly these two signals (i.e. ?1 (?) and
?2 (?)) at the receiving side after the...
I need help with number 2 . Please answer in MATLAB thank
you!
1. In the lab we analyzed filtering 60 Hz power-line noise from ECG signal using a digital (signal processing) filter. Now let's try to an analog (circuit) filter approach to remove the 60 Hz line-noise. Following is an active twin-T notch filter with transfer function: (1+m)((2joRC? +1 Z(a) 2R 2R Here m is the ratio of the two feedback 2C R resistance which determines the gain and...
Using the book, write another paragraph or two: write 170
words:
Q: Compare the assumptions of physician-centered and
collaborative communication. How is the caregiver’s role different
in each model? How is the patient’s role different?
Answer: Physical-centered communication involves the specialists
taking control of the conversation. They decide on the topics of
discussion and when to end the process. The patient responds to the
issues raised by the caregiver and acts accordingly. On the other
hand, Collaborative communication involves a...