# Project in matlab. I have the correct ak value but not the correct ao value. My code is attached ...

###### Question:

Project in matlab. I have the correct ak value but not the correct ao value. My code is attached below also
2. Determine and plot the magnitude and phase spectrum of the Fourier series coefficients a, that is, plot ja, I as a function of discrete frequencies Jok and La, as a function of discrete frequencies fok
03 025 蓋0.2 0.15 0.1 o o5 ·10-8-6 4610 phase -2 -2
8- t= 0: .01:4; 9- to = 4; 10- fo =1/4; 11- j =sqrt (-1); 12- ao1/4; 13-bo0; 14 15 16 17 18 19 %% Part 2 -10:10: 21 %ak ( (-2-j ) ./ (3"p1. *k) ) + ( ( (-1) .^k) . / (pi. * k) ) ; the one i used stem (k, abs (ak)) 23 - 24 title ('magnitude); 25 xlabel ('k 26 ylabel ('ak'); 27-figure 28 29 stem(k,angle (ak)); 30 - 31 xlabel (' 32ylabel ('1/-ak); 33-figure title ('phase)

#### Similar Solved Questions

##### Circular Motion and Other Applications of Newton's Law In a recent mystery, the hero saves himself...
Circular Motion and Other Applications of Newton's Law In a recent mystery, the hero saves himself by spreading out a windshield 41. tarpaulin to reduce his terminal velocity. A skydiver of 75 kg mass has a term sky diver, and a drag coefficient twice as large with the tarp, by what factor is hi...
##### On the basis of data collection, a biologist found that the number of fruit flies, on...
On the basis of data collection, a biologist found that the number of fruit flies, on any day, t, and with a limited food supply, could be approximated by the exponential model shown below:   N(t)=360/1+39e^-0.12t    t ≥ 0 Use your graphics calculator as needed to answer these...
##### Algorithms Given the following 3SAT formula, convert the problem to Independent Set and determine from there...
Algorithms Given the following 3SAT formula, convert the problem to Independent Set and determine from there if the formula is satisfiable: \$ = (x1 V x2 V x3) ^ (X1 V X2 V x3) ^ (X1 V x2 V x3)...
##### Do not use energy conservation. Because of friction, energy isn't conserved. 2. A bowling ball is...
Do not use energy conservation. Because of friction, energy isn't conserved. 2. A bowling ball is thrown down an alley with initial velocity vo and no rotation around its center of mass. The ball is thrown in such a way that it initially slides before beginning to roll. The ball has mass m, coef...
##### USE THE FOLLOWING INFORMATION TO ANSWER THE NEXT (5) QUESTIONS Magic Cleaning Services has a fiscal...
USE THE FOLLOWING INFORMATION TO ANSWER THE NEXT (5) QUESTIONS Magic Cleaning Services has a fiscal year end of December 31st. It is in its first year of operations As of December 31, Magic has the following unadjusted trial balance Account Cash Accounts Receivable Supplies Equipment Accounts Payabl...
##### Suppose that after following this experiment to the end, you obtain a percent yield of 105.2...
Suppose that after following this experiment to the end, you obtain a percent yield of 105.2 %. Assuming no weighing or calculation errors occurred, what is the most likely explanation for this impossible yield?...
##### Marks Corporation has two operating departments, Drilling and Grinding, and an office. The three categories of...
Marks Corporation has two operating departments, Drilling and Grinding, and an office. The three categories of office expenses are allocated to the two departments using different allocation bases. The following information is available for the current period: Office Expenses Total Allocation B...
##### The response of a first-order system is written as x(t) = 12e-3t+a, where a = 24....
The response of a first-order system is written as x(t) = 12e-3t+a, where a = 24. Calculate the steady-state solution....
##### Which statement about the motion of an object depicted in the figure is correct? (a) x-t...
Which statement about the motion of an object depicted in the figure is correct? (a) x-t graph (b) v-t graph x (m) 60- 40 20 % (m /s) 15 10- о r. 1 (s) -5-|//10 т 20 30 40 r 30 40 2010 -40- -60 15 0 At t = 5 s, acceleration is positive and the object is speeding up. 0 At t = 5 s, acceler...
##### Question 16 of 20 0 0/0 25 Points Which of the following three items is NOT...
Question 16 of 20 0 0/0 25 Points Which of the following three items is NOT a determinate of demand? O A. price B. taste OC. price of substitutes...
##### Activity Rates and Activity-Based Product Costing Hammer Company produces a variety of electronic equipment. One of...
Activity Rates and Activity-Based Product Costing Hammer Company produces a variety of electronic equipment. One of its plants produces two laser printers: the deluxe and the regular. At the beginning of the year, the following data were prepared for this plant: Deluxe Regular Quantity 100,000 800,0...
##### Please show all work. See Figure below. The quarter circular plate is supported by the ball-and-socket...
please show all work. See Figure below. The quarter circular plate is supported by the ball-and-socket at A, the roller at B, and the vertical cord CD. Ignore the gravity of the light plate. Determine the reaction forces at the supports A and B as well as the cord CD. 350 N 200 N " 200 NI3m C 6...
##### Question 3 Solve the following PDE: xux+4yuy=0, u(1,y) = g(y).
Question 3 Solve the following PDE: xux+4yuy=0, u(1,y) = g(y)....
##### Draw the wedge-dash notation of propane (C3H8).
Draw the wedge-dash notation of propane (C3H8)....