Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

please code on MATHLAB and show graph thank you in advance! Generate the following function y1(t)=2* sin (2*pi* 1 *t)+4*sin(2*pi*2*t)+3*sin(2*pi*4*t) y2(t)=2*cos(2*pi*1*t)+4*cos(2*pi*2*t)+3*cos(2*pi*4*t) First, required by sampling

please code on MATHLAB and show graph thank you in advance!

image text in transcribed

Generate the following function y1(t)=2* sin (2*pi* 1 *t)+4*sin(2*pi*2*t)+3*sin(2*pi*4*t) y2(t)=2*cos(2*pi*1*t)+4*cos(2*pi*2*t)+3*cos(2*pi*4*t) First, required by sampling theorem, the step size of t (delta t) has to be smaller than a value. Figure out this value and set the delta t at least 3 times smaller than this value and calculated y1(t) and y2(t). Increase the step size (delta t) and recalculate y1(t) and y2(t). See the difference. Calculate Fourier Transform of y1(t) and y2(t) using 'fit' and plot your results. Using frequency as the x axis data and amplitude as the y axis data. Also, plot the phase, too. f=[0:1/length(y1):1/2]*(1/delta_t) am1=fit(y1) figure; plot(f, abs(am1(1:length(f))), '-*') Use function of 'abs' to calculate the amplitude and 'angle' to calculate phase

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_2

Step: 3

blur-text-image_3

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

Question

Explain Web 2 . 0 and identify its four characteristics

Answered: 1 week ago

Question

List the components of the strategic management process. page 72

Answered: 1 week ago