Question
Program in any language. I need help I have no idea how to do this!
(1) Write a program to combine 2 (two) waves with different frequencies (fm and fc) using AM (Amplitude Modulation) technique: y(t) = [1 + m cos(2 π fn t) ] A sin(2 π ) where fm is the modulated frequency, fc is the carrier frequency, A- Amplitude, m- index of modulation, t time and 3.14159265359 (A) Plot y(t) in time domain t = 0 to t = 2 with increment 0.05. Use the following parameters: A-, fc 4Hz, fm-1 Hz, m 0.75 (B) Plot y() in time domain 0 to t-2 with increment 0.05. Use the following parameters: A-, fc-4 Hz, fm 1 Hz, m-0.4 (C) Plot y(t) in time domaint-0 to 2 with increment 0.05. Use the following parameters: A-,fc-4 Hz, f Hz, m 0.1
0 0
Add a comment Improve this question Transcribed image text
Answer #1

This problem can be solved in matlab or R. I am prviding solution for Matlab.

Thanks.

A)

Program:

-----------------

t = [0 : 0.05: 2];
m=0.75;
fm=1;
A=1;
fc=4;
y=(1+ m .* cos(2 .*pi .*fm .*t)) .* A .*
sin(2 .*pi .*fc .*t);

plot(t,y)

---------------------------------------------------

Explaination

1) t = [0 : 0.05: 2]; --->defining time range from 0 to 2 with increment of 0.05

2) below line declare variables

m=0.75;
fm=1;
A=1;

fc=4;

3 )below is your formula here for multiplication we used .* instead of just *

y=(1+ m .* cos(2 .*pi .*fm .*t)) .* A .* sin(2 .*pi .*fc .*t);

4) Plot(t,y) plots y with respect to t

Similar approach is followed for other parts

---------------------------

A) Output

2] t[0 m=0.75; fm-1; A=1; fc-4; 0.05 plot (t,y) 2 1.5 0.5 -0.5一一 -1 -2 0.5 1.5

B)

t = [0 : 0.05: 2];
m=0.4;
fm=1;
A=1;
fc=4;
y=(1+ m .* cos(2 .*pi .*fm .*t)) .* A .*
sin(2 .*pi .*fc .*t);

plot(t,y)

------------------

Output B

------------------

C)

t = [0 : 0.05: 2];
m=0.1;
fm=1;
A=1;
fc=4;
y=(1+ m .* cos(2 .*pi .*fm .*t)) .* A .*
sin(2 .*pi .*fc .*t);

plot(t,y)

------------------

Output C

------------------

Add a comment
Know the answer?
Add Answer to:
Program in any language. I need help I have no idea how to do this! (1)...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Please answer FAST ASAP I will rate you thumbs up ?? (1) What are the reasons...

    Please answer FAST ASAP I will rate you thumbs up ?? (1) What are the reasons behind the need of modulation for radio transmission, i.e., why not directly transmit the original signal? Q2) A carrier signal with frequency f. Hz is double-sideband suppressed carrier (DSB-SC) amplitude modulated by a triangular shaped message signal, m(t), plotted below (Fig. Q2). The DSB-SC amplitude modulated signal is then passed from a band-pass filter with center frequency fc-Im and bandwidth 2fm where fm =...

  • In frequency Modulation (FM), the instantaneous frequency of a sinusoidal carrier wave will be modified proportionally...

    In frequency Modulation (FM), the instantaneous frequency of a sinusoidal carrier wave will be modified proportionally to the variation of amplitude of the message signal. Use Matlab to build an FM modulation and demodulation process. The FM coefficient is Kf=80, and the carrier frequency is 300Hz. 1. Generate a baseband signal as show below. Plot the baseband signal in time domain and frequency domain. 2. Create an FM process and plot the modulated signal in time and frequency domain. -1...

  • I need someone to code this up in C , and show the screen shot shot...

    I need someone to code this up in C , and show the screen shot shot of the output for some input Design an amplitude modulation scheme that will generate the amplitude modulated signal yAM(t) ct)m(t)c(t) where c(t) sin 2rFd is the carrier with carrier frequency F, and m(t)-A,n sin 2πFmt is the modulating signal with amplitude Am and modulating frequency Fm. For initial values you may assume that Fc-6 kHz, Fm-400 Hz and Am-1.

  • In frequency Modulation (FM), the instantaneous frequency of a sinusoidal carrier wave will be mo...

    In frequency Modulation (FM), the instantaneous frequency of a sinusoidal carrier wave will be modified proportionally to the variation of amplitude of the message signal. Use Matlab to build an FM modulation and demodulation process. The FM coefficient is Kf=80, and the carrier frequency is 300Hz. 1. Generate a baseband signal as show below. Plot the baseband signal in time domain and frequency domain. 2. Create an FM process and plot the modulated signal in time and frequency domain. -1...

  • Please explain in detail and use MATLAB code. Thank you. Prob. 4-1 FM and PM are,...

    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)...

  • Question 4: (20 points) An FM signal is modulated with message m(t)Am cos(2Tmt). The measured amp...

    Question 4: (20 points) An FM signal is modulated with message m(t)Am cos(2Tmt). The measured amplitude spectrum, SPM(f), is shown below: Amplitude spectrum of the frequency modulated signal 2 -2 5000 4000 3000 2000 -1000 1000 2000 3000 4000 5000 frequency f [Hz] a) What is the carrier frequency fe? b) What is the message frequency fm c) What is the FM modulation index Bf? Is it a narrowband or a wideband signal? d) Using Carson's rule, estimate the transmission...

  • 5. A msg m(t) that is used too modulate a carrier and frequency (fc) is 1500 in a FM system. Kf i...

    Complete using matlab 5. A msg m(t) that is used too modulate a carrier and frequency (fc) is 1500 in a FM system. Kf is 80. Plot the FM signal in time AND frequency domain using Matlab. The signal is shown below, m(t) is zero for t>250ms and t<0 ms. m(t) (V) Half Sinusoid 3.5 t (ms) 250 5. A msg m(t) that is used too modulate a carrier and frequency (fc) is 1500 in a FM system. Kf is...

  • QUESTION 5Select the correct statement(s) regarding amplitude modulation (AM). a. If the AM Index is greater...

    QUESTION 5Select the correct statement(s) regarding amplitude modulation (AM). a. If the AM Index is greater than 1 (i.e., µAM>1), then over modulation occurs leading to signal distortion b. With AM, the message is captured as amplitude changes to the carrier’s amplitude. c. The AM modulated signal bandwidth is dependent upon the highest frequency (fm), and frequency bandwidth, of the message d. All of the above are correct QUESTION 6 Amplitude Modulation (AM) describes a method where the baseband message...

  • hello can you help me with this question for analog communication lesson?

    m (t) = rect (50t), c (t) = cos (2πfct) fc = 100 khz the m (t) message sign c (t) given above is subjected to double sideband modulation (dsb) with carrier signal. a) obtain the modulated signal and draw the amplitude spectrum in the frequency domain. (write down all the necessary values (center frequency, points where axes are cut, etc.) in the axes of the graph) b) calculate the energy of the modulated signal. (specify units)

  • Please solve these two questions because they are relevant to each other. Also, please be clear w...

    Please solve these two questions because they are relevant to each other. Also, please be clear when you write by your hand. 5.1-3 A periodic message signal m(t) as shown in Figure P5.1-3 is transmitted as an angle-modulated signal. The modulation system hasoc2Tx103 rad/s. Let the signal bandwidth of m(t) be approximated by its own fifth-harmonic frequency. (a) To generate an FM signal with k 20, sketch the frequency-modulated signal sFM(1) in the time domain. 298 ANGLE MODULATION AND DEMODULATION...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT