Question: 8 . 1 Use the built - in MATLAB function ( f ) ft to re - calculate the Discrete 2 pts Fourier

8.1 Use the built-in MATLAB function \( f \) ft to re-calculate the Discrete
2 pts Fourier coefficients for the same four points you used in 7.5. Write out on paper exactly how you used \(\mathrm{f} f \mathrm{f}\) :
i. what vectors you created as input to the fft function,
ii. how you called fft ,
iii. exactly what your MATLAB output from fft was (I want you to write out all four complex values from MATLAB),
iv. and finally, exactly how you used that output to get all the relevant \( A_{k}\) and \( B_{k}\).
Hint: There should be \(\boldsymbol{N O}\) difference between the coefficients calculated in 7.5 and 8.1. If there are, you're either having difficulty calculating the coefficients correctly by-hand, or else misinterpreting the output of \( f \mathrm{ft}\). Go back and fix the problem. A good idea to confirm you're using fft correctly is to maybe first try it on the known 4-pt example from class.
The whole point of part 8.1 is to make sure you fully understand how to use and interpret the built-in fft command before moving on to the final (more complicated) MATLAB questions in 8.2, where you don't know the "by-hand" coefficients.
Now, let's use the MATLAB fft command to do a Discrete Fourier Transform using many more points! We can then compare that to the Analytic Fourier Transform and discuss any possible aliasing errors.
8 . 1 Use the built - in MATLAB function \ ( f \

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Mechanical Engineering Questions!