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: 60% (10 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...
-
Refer to the previous exercise. Instead of 49, suppose that 64 Americans were surveyed about their weekly expenditures on coffee. Assume the sample mean remained the same. a. What is the 95%...
-
Using information provided in Table C.1, develop a table of speed of sound in ft/s as a function of elevation for U.S. standard atmosphere. Table C.1 Properties of the U.S. Standard Atmosphere (BG/EE...
-
You are the in charge auditor examining the financial statements of the Gutzler Company for the year ended December 31. During late October, with the help of Gutzlers controller, you completed an...
-
Activity-based costing (ABC) is not just a cost collection mechanism, but rather more of an inventory valuation method. The main purpose for implementing an activity-based cost system is to try to...
-
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...
-
Determine whether the dilation from Figure A to Figure B is a reduction or an enlargement. Then find its scale factor. y A B X
-
The project I will be talking about was a marketing initiative to gain more customers for our checking and savings accounts at a local bank I worked at. There was several of us that made up the team,...
-
4. a) Consider the following set of facts: 1. X is a student. 2. X studies in CSE department. 3. X has passed HSC in the year 2016. 4. Passing year is session. 5. The students of 2016 session of CSE...
-
1) Build a Turing Machine that multiplies two integers. Explain the logic behind your design shortly. An example initial and final configuration is given below. Initial configuration:aaaaabbAAA.......
-
Martinez Company's relevant range of production is 7,500 units to 12,500 units. When it produces and sells 10,000 units, its average costs per unit are as follows: Average Cost per Unit Direct...
-
Hofstede's 5 value systems: how can you use each of them to help you market a product? Individualism vs collectivism Power distance low to high Risk taking vs uncertainty avoidance. Masculinity vs...
-
What are analytical procedures? Describe how they can be used as substantive tests in an audit.
-
Show that the block upper triangular matrix A in Example 5 is invertible if and only if both A 11 and A 22 are invertible. Data from in Example 5 EXAMPLE 5 A matrix of the form A = [ A11 A12 0 A22 is...
-
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.
-
determine the superficial gas velocity VSG at each transition using the correlations provided Water superficial velocity (m/s) Water density (kg/m) Gas density (kg/m) Fluid's properties [0.001-10]...
-
The solid shaft of radius r = 0.5 inches and shear modulus G = 10,000ksi is subjected to the torques shown, and T = 10,000lb - in. At the surface of the shaft, the angle between the "line before...
-
Construct the mathematical function that describes the movement of the piston. 1.Relevant calculations and construction of the algebraic model. Parameter adjustment If the distance d that the piston...
Study smarter with the SolutionInn App