Question: where the Experiment function is defined as the discrete-time input xn with output yn. i) Define your own Experiment function and run the script.
where the Experiment function is defined as the discrete-time input xn with output yn. i) Define your own Experiment function and run the script. What is the purpose of the above script?What does it model? ii) iii) iv) v) What is the meaning of the value stored in H (2) ? What is the purpose of line 10 ? Qualitatively, what effect would substantially increasing Nin have on H? 1 Ntest 2 Nin = 480; 3 Ntr = 120; 4 5 for i=1: Ntest+1 T = Omegapi* (i-1)/Ntest; XII = cos(Omega + (0: Nin-1)); yn Experiment (xn); xn = xn (Ntr +1 Nin); 10 yn yn (Ntr +1 Nin); 11 Xi 12 sum (exp(- j* Omega (0: length (xn)-1) ) .* xn); sum (exp(-j* Omega * (0: length (yn)-1) ) * yn); H (i) = Yi/Xi; Yi = 13 14 end = 10; = =
Step by Step Solution
3.37 Rating (153 Votes )
There are 3 Steps involved in it
i Here is an example of a userdefined Experiment function def Experimentxn Computes the output of the experiment given the input xn Args xn A numpy ar... View full answer
Get step-by-step solutions from verified subject matter experts
