Question: sir please solve all the steps clearly B.4 (10 Marks) In a machine, the displacement of y is given for a certain angle as follows.

sir please solve all the steps clearly
B.4 (10 Marks) In a machine, the displacement of y is given for a certain angle as follows. 8 0 30 60 90 120 150180 210 240 270 300 330 y 7.98.0 7.25.6 3.6 1.7 0.5 0.2 0.9 2.54.76.8 Write a Fourier series expansion forthe given datapoints up to third harmonics using Harmonic analysis method Write a MATLAB function to estimate the Fourier coefficients of first and second harmonics to be fitted above data Calculate the least square error between observation and approximation by Fourier series as B4.1. B4.2. B4.3. where Oi and Fi, respectively, represent the observed data points and corresponding approximation of Fourier series. The MATLABfunction should also return the erroras an output. B4.4. Plot the observed data point using symbol' and the approximation by Fourier series as a solid line in same graph B4.5 Conclusion
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
