Having difficulty with (c) for Matlab. Don\'t know how to set it up! The America
ID: 2074355 • Letter: H
Question
Having difficulty with (c) for Matlab. Don't know how to set it up!
The American National Oceanic and Atmospheric Administration (NOAA) measures the intensity of a hurricane season with the accumulated cyclone energy (ACE) index. The ACE for a season is the sum of the ACE for each tropical storm with winds exceeding 35 knots (65 km/h). The maximum sustained winds (measured in knots) in the storm are measured or approximated every six hours. The values are squared and summed over the duration of the storm. The total is divided by 10,000, to make the parameter easier to use. This parameter is related to the energy of the storm, since kinetic energy is proportional to velocity squared. However, it does not take into account the size of the storm, which would be necessary for a true total energy estimate. ReliableExplanation / Answer
First write down all the above data in a excel file
Name the file "hurricane"
keep this excel file and below code in same folder
Run the code
clc
clear all
close all
ACE= xlsread('hurricane.xlsx','F4:F66'); % ACE Index
Tstm= xlsread('hurricane.xlsx','H4:H66'); % Number of tropical storm
Hcn= xlsread('hurricane.xlsx','J4:J66'); % Number of hurricanes
Mhcn= xlsread('hurricane.xlsx','L4:L66'); % Number of major hurricanes
disp(max(ACE))
disp(max(Tstm))
disp(max(Hcn))
disp(max(Mhcn))
m1= mean(ACE);
m11= median(ACE);
m2= mean(Tstm);
m22= median(Tstm);
m3= mean(Hcn);
m33= median(Hcn);
m4= mean(Mhcn);
m44= median(Mhcn);
k=[ACE Tstm Hcn Mhcn];
k1= sortrows(k,1); % sort ACE in descending order
% Note- There is no option to load excel file on chegg. here in my code i have written all the data from row 4 to row 66. You change these values in code as per your excel file.
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.