Question: MATLAB Code help In the previous chapter, the accumulated cyclone energy index (ACE) was introduced (see Problem 4.5). Use that data to solve the following
MATLAB Code help
In the previous chapter, the accumulated cyclone energy index (ACE) was introduced (see Problem 4.5). Use that data to solve the following problems. It may also be available to you as an EXCEL spreadsheet, named ace_data.xlsx.
data:
year:[1950:1:2016]
ACE:[
| 243 |
| 137 |
| 87 |
| 104 |
| 113 |
| 199 |
| 54 |
| 84 |
| 121 |
| 77 |
| 88 |
| 205 |
| 36 |
| 118 |
| 170 |
| 84 |
| 145 |
| 122 |
| 35 |
| 158 |
| 34 |
| 97 |
| 28 |
| 43 |
| 61 |
| 73 |
| 81 |
| 25 |
| 62 |
| 91 |
| 147 |
| 93 |
| 29 |
| 17 |
| 71 |
| 88 |
| 36 |
| 34 |
| 103 |
| 135 |
| 91 |
| 34 |
| 75 |
| 39 |
| 32 |
| 228 |
| 166 |
| 40 |
| 182 |
| 177 |
| 116 |
| 106 |
| 65 |
| 175 |
| 225 |
| 248 |
| 79 |
| 72 |
| 145 |
| 51 |
| 62 |
| 126 |
| 133 |
| 36 |
| 67 |
| 63 |
| 3] |
(a) Create an xy plot of the year (on the x-axis) versus the ACE index values (on the y-axis).
(b) Calculate the mean ACE value, and use it to draw the mean value on your graph. (Hint: You just need two points, one at the first year and one at the final year).
(c) Use the filter function to find a running weighted average of the ACE data, over a 10-year period, using the following syntax, assuming you have named the data extracted from the ACE column, ace.
I can import the data myself I need help setting up the code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
