2. Approximation of Signal u(t) (30 points). The plots in Fig 3 show the signal
ID: 2267320 • Letter: 2
Question
2. Approximation of Signal u(t) (30 points). The plots in Fig 3 show the signal u(t)-e-sin(ut) Volts, with w= 4 rad/s, in red and its pulse-based approximation in blue. Here, da(t -T) is defined as and in the particular case shown in Fig. 3. -10-2 s, i : 1 , 100, with t: 0 s and 1100 1.99 s Notice that Fig·$(a) shows the signals u(t) and a(t) over the range [0,1] s and that Fig. 3-(b) shows close-ups of ult) and i(t) over the range (0,0.25s) s Signal mt) and its Approsimation Close-up of Signal mit) and its Approximation Time (Seconds) Time (Seconds) Figure 3: Plots of ult) and ult). (o) Thinking of the generic case, show that an i pulse associated with the instant t, uwedo generate úl(t), can be described by (b) Thinking of the generic case, clearly and rigorously explain why the function alt) in (s) (e) For the particular signal u(t) in (7), write a Matlab script in order to re (d) Consider the signal u(t) in (7) and analytically, compute can be used to approximate a continuous function u(t) produce the plots in Fig, 3. (10) u( )dtExplanation / Answer
It works well - I was able to make it display the amount of percent error based on how many terms were used in the equation.
What I want to try doing now is the opposite. I want an approximation of less or equal to 1%, and MATlab to be able to calculate the number of terms automatically to do so. I've been trying to use a while loop to do so:
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.