Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

what is the matlab code for :- Q1. Write a function that gets a matrix as the input. The output should be the same matrix

what is the matlab code for :-

image text in transcribed

Q1. Write a function that gets a matrix as the input. The output should be the same matrix but all the even elements of the input replaced by the next odd number. So for example if the input is [2 7 4; 5 8 3] the output will be [3 7 5; 5 9 3] Q2. Frequency modulation (FM)-MATLAB Frequency modulation, or FM, uses a wider bandwidth than amplitude modulation, or AM, but it is not affected as much by noise as AM is. The output of an FM transmitter is of the form y(t) = cos(Ri + 2 m(t)dt) 0 where m(t) is the message and v is a factor in Hz/volt if the units of the message are in volts. (a) Create as the message a signal m(t) = cos(t) Find the FM signal y(t) for 10 and then for v1. Let the carrier frequency 2T. Use MATLAB to generate the different signals for times 0- 10 at intervals of T, = 0.01 . Plot 'n(t) and the two FM signals (one for v 10 and the other for v 1) in the same plot. Is the FM transmitter a linear system? Explain. Create a message signal (b) when m(t)2 when m(t)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions