Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Code is provided for #1. I need #2,#3,and #4 t=-4:0.01:4 ; x1 = 1.274 .* sin(2.*pi.*t); x2 = 0.425 .* sin(6.*pi.*t) ; x3 = 0.255

Code is provided for #1. I need #2,#3,and #4
t=-4:0.01:4 ;
x1 = 1.274 .* sin(2.*pi.*t);
x2 = 0.425 .* sin(6.*pi.*t) ;
x3 = 0.255 .* sin(10.*pi.*t) ;
x4 = 0.182 .* sin(14.*pi.*t) ;
y = x1 + x2 + x3 + x4 ;
subplot(5,1,1) ; plot(t,x1) ; axis([ 0 1 -2 2 ]) ;
subplot(5,1,2) ; plot(t,x2) ; axis([ 0 1 -2 2 ]) ;
subplot(5,1,3) ; plot(t,x3) ; axis([ 0 1 -2 2 ]) ;
subplot(5,1,4) ; plot(t,x4) ; axis([ 0 1 -2 2 ]) ;
subplot(5,1,5) ; plot(t,y ) ; axis([ 0 1 -2 2 ]) ;
image text in transcribed
image text in transcribed
1. Write MATLAB code to generate following 2-D graphs. a. Generate a time variable from 0 to 1 [sec] in 0.001 [sec] step size b. Draw xi()- (1.274)sin(2Tt) with respect to time using MATLAB plot c. Draw x2() (0.425)sin(6Tt) with respect to time using MATLAB plot d. Draw x3(t)- (0.255)sin(10t) with respect to time using MATLAB plot e. Draw x4() (0.182)sin(14t) with respect to time using MATLAB plot f. Draw y(t)-xi(t) +x2(t) +x(t) xt) with respect to time using MATLAB plot g. Set axis to all graphs. (from 0 to 1 for x-axis, from -2 to 2 for y-axis) h. Describe the signal trends in your own words. 2. 3. 4. Predict the frequency contents of summed signal, y(t) Draw an "amplitude" vs "frequency" graph for summed signal, y(t), by hand. Write MATLAB code to generate 2-D graph for y(1) 1n frequency domain. ("amplitude" vs "frequency") h 3 Result-Sum

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Distributed Relational Database Architecture Connectivity Guide

Authors: Teresa Hopper

4th Edition

0133983064, 978-0133983067

More Books

Students also viewed these Databases questions

Question

1. Think about your work group in light of this tool.

Answered: 1 week ago