Whether a storm is a tropical depression, tropical storm, or hurricane is determined by the average sustained wind speed
belongs to book: MATLAB: A Practical Introduction to Programming and Problem Solving|Stormy Attaway|Fourth Edition| Chapter number:4| Question number:21.4
All Answers
total answers (1)
Ch4Ex21.m
% Prints whether a storm is a tropical depression, tropical
% storm, or hurricane based on wind speed
wind = input('Enter the wind speed of the storm: ');
if wind < 38
disp('Tropical depression')
elseif wind >= 38 && wind < 73
disp('Tropical storm')
else
disp('Hurricane')
end
need an explanation for this answer? contact us directly to get an explanation for this answer