Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write a c++ code Note (4 points). All the following curves must be graphed in the time window of [ 0 13] (sec) by using
write a c++ code
Note (4 points). All the following curves must be graphed in the time window of [ 0 13] (sec) by using ( mathrm{N}=2000 ) data points. Question #1-(a)_(3 points). Write a code and generate the following three figures. Copy/paste the code here (no photo or screenshot): Question #1-(b)_(1 point). Plot the ( operatorname{signal~} X(t)=sin (t)+sin (2 t) ). Copy/paste the plot here (no photo or screenshot): Question #1-(c)_(1 point). Plot the signal Xd(t), which is the numerical differentiation of ( mathrm{X}(mathrm{t}) ). Copy/paste the plot here (no photo or screenshot): Question #1-(d)_(1 point). Plot the signal Xi(t), which is the numerical integration of ( X(t) ), with the initial value ( X i(0)=1 ). Copy/paste the plot here (no photo or screenshot): Question #2-(a)_(3 points). Write a code and generate the following three figures. Code here: Copy/paste the code here (no photo or screenshot): Question #2-(b)_(1 point). Plot the signal ( Y(t)=X(t)+ ) noise, where the noise amplitude is 0.2 . Copy/paste the plot here (no photo or screenshot): Question #2-(c)_(1 point). Plot the signal Yd(t), which is the numeral differentiation of ( mathrm{Y}(mathrm{t}) ). Copy/paste the plot here (no photo or screenshot): Question #2-(d)_(1 point). Plot the signal Yi(t), which is the numerical integration of ( mathrm{Y}(mathrm{t}) ), with the initial value ( mathrm{Yi}(0)=1 ). Copy/paste the plot here (no photo or screenshot): Question #3 (2 points). Compare the graphs of ( mathrm{Xd}(mathrm{t}) ) and ( mathrm{Yd}(mathrm{t}) ) in Q1.2 and Q2.2, respectively, and explain how noise impacts the differentiation operator. Type the explanation in here (no photo or handwriting): Question #4 (2 points). Compare the graphs of ( mathrm{Xi}(mathrm{t}) ) and ( mathrm{Yi}(mathrm{t}) ) in Q1.3 and Q2.3, respectively, and explain how noise impacts the integration operator. Type the explanation in here (no photo or handwriting):
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started