Develop an M-file function that uses the fft function to generate a power spectrum plot. Use it
Question:
Develop an M-file function that uses the fft function to generate a power spectrum plot. Use it to solve Prob. 16.9.
Data From Problem16.9
Duplicate Example 16.3, but for 64 points sampled at a rate of Δt = 0.01 s from the function
f (t) = cos[2 π (12.5)t] + cos[2 π (25)t]
Use fft to generate a DFT of these values and plot the results.
In Example 16.3
Transcribed Image Text:
Apply the MATLAB fft function to determine the discrete Fourier transform for a simple sinusoid: f(t) = 5+ cos(2 (12.5)t) + sin(27 (18.75)t) Generate 8 equispaced points with At = 0.02 s. Plot the result versus frequency.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 54% (11 reviews)
Heres an Mfile function that uses the fft function to generate a power spectrum plot function powers...View the full answer
Answered By
Aricayos Apple
I'm a highly professional tutor and academic freelancer , with over 5 years of experience. I became one of best tutors in Chegg tutoring community and Course Hero having high helpful rate. I love helping students understand Business courses related, as it is my passion to tutor and and help students understand these amazing subjects as attached in my skills. I am also an expert on the subject of history related subjects since at one point had handled these subjects. I also have a bachelor's degree in bachelors of science in Business Administration from City of Malabon University in Philippines. I am currently working on getting a master's degree in the field Business Administration from City of Malabon University. Meanwhile, you can learn how to solve complex problems consistently with me.
0.00
0 Reviews
10+ Question Solved
Related Book For
Applied Numerical Methods With MATLAB For Engineers And Scientists
ISBN: 9781259027437
3rd Edition
Authors: Steven C. Chapra
Question Posted:
Students also viewed these Mathematics questions
-
Tiffany Chen was concerned about Winner Apparel's sales results from the previous season. For some products, the company had to sell about a third of the seasonal purchase at sharply discounted...
-
Duplicate Example 16.3, but for 64 points sampled at a rate of t = 0.01 s from the function f (t) = cos[2 (12.5)t] + cos[2 (25)t] Use fft to generate a DFT of these values and plot the results....
-
The following additional information is available for the Dr. Ivan and Irene Incisor family from Chapters 1-5. Ivan's grandfather died and left a portfolio of municipal bonds. In 2012, they pay Ivan...
-
For Table 24.1, suppose you think that you omitted a relevant variable, physicians per capita. Would this harm your results for S or H? Explain your view. Table 24.1 (Model 1) The Effect of Community...
-
What social media tools do marketers commonly use? Social Media Examiner surveyed B2B and B2C marketers who commonly use an indicated social media tool. (B2B marketers are marketers that focus...
-
A government agency wants to determine whether the average salaries of four kinds of transportation operators differ. The accompanying table shows the salaries (in $1,000s) for a random sample of...
-
If you roll three standard 6 -sided dice, the probability that the sum will be 8 is \(\frac{21}{216}\). Decide whether the given probability was likely determined theoretically, empirically, or...
-
Natalies high school friend, Katy Peterson, has been operating a bakery for approximately 18 months. Because Natalie has been so successful operating Cookie Creations, Katy would like to have Natalie...
-
The table below summarizes a survey involving the relationship between living arrangements and grade point average for a group of students. If a student is selected randomly from this group, what is...
-
The cross-sectional area of a channel can be computed as where B = the total channel width (m), H = the depth (m), and y = distance from the bank (m). In a similar fashion, the average flow Q (m 3...
-
The following data are sampled from the step function depicted in Fig. 18.1: Fit these data with a (a) Cubic spline with not-a-knot end conditions, (b) Cubic spline with zero-slope clamped end...
-
Find the least squares regression line for the points. Use the regression capabilities of a graphing utility to verify your results. Use the graphing utility to plot the points and graph the...
-
Tom spent his entire life in Australia until he ceased to be an Australian resident and became a resident of the United Kingdom in June 2 0 2 3 . When he left Australia, Tom s only asset was a...
-
11. As a hot hands pilot you get to fly an aircraft with air refueling capability. You take on fuel from a tanker and your weight before refueling was 30,000 lbs and you take on 5000 lbs of fuel. If...
-
Distinguish between personal selling and sales promotions and which you would use to increase sales of the following products. Products: Farm equipment Toyotas Calvin Klein
-
For 2012, Tri-Comic Company initiated a sales promotion campaign that included the expenditure of an additional $50,000 for advertising. At the end of the year, Lumi Neer, the president, is presented...
-
Obtain the general solution to the equation. dy (x+36) x+xy = 5x, y(0) = 4 The general solution is y =
-
A reversible engine with an efficiency of 30.0% has TC = 310.0 K. (a) What is TH? (b) How much heat is exhausted for every 0.100 kJ of work done?
-
Do the three planes x + 2x + x 3 = 4, X X 3 = 1, and x + 3x = 0 have at least one common point of intersection? Explain.
-
Use the program from Prob. 19.10 to compute a DFT for the triangular wave from Prob. 19.8. Sample the wave from t = 0 to 4T. Use 32, 64, and 128 sample points. Time each run and plot execution versus...
-
Develop a user-friendly program for the FFT based on the algorithm from Figure. Test it by duplicating Figure.
-
Repeat Prob. 19.11 using the software you developed in Prob. 19.12.
-
Contractor Proposal Cost Calculation Table COST ELEMENT CHANGE ($) Material $5,000.00 Subcontracts $3,000.00 Direct Labor $2,000.00 Indirect Expenses (Fringe Only) (28.33%) $566.60 Other Direct...
-
Harley has two lines of businessa manufacturing/retail operation and a finance subsidiary. Harley's dealers are independent of Harley and sell motorcycles and related products (e.g. Harley apparel)....
-
Autumn Manufacturing mass produces its product in three departments. A cost analysis for Department 1, the first department in the manufacturing cycle for the month of April, can be found in the...
Study smarter with the SolutionInn App