Import the data into matlab and name the array ace_data

Assignment Help MATLAB Programming
Reference no: EM131835

Problem 1

A barometer is used to measure atmospheric pressure and is filled with a high-density fluid. The pressure P measured by the barometer is the height of the fluid column, h, times the density of the liquid ρ, times the acceleration due to gravity g, or

                                                                                    P=hpg

Find the height to which the liquid column will rise for pressures from 0 to 100 kPa for two different barometers. Assume that the first uses mercury, with a density of 13.56 g/cm3 and the second uses water with a density of 1.0 g/cm3. The acceleration due to gravity is 9.81 m/s2. Your answer should be in a two dimensional matrix.

Problem 2

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 ech 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.

                                                                               ACE = ΣV2max/104

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. Reliable storm data have been collected in the Atlantic Ocean since 1950, and are included in a file called ace.xlsx. Import this file into MATLAB using the command

                                                                      ace_data = xlsread('ACE.xlsx');

a) Import the data into MATLAB and name the array ace_data.

b) Extract the data from each column into individual arrays. You should have arrays named

  • years (column 1) (year of record)
  • ace (column 2) (ACE Index)
  • tropical_storms (column 3) (# of tropical storms)
  • hurricanes (column 4) (# of hurricanes category 1 - 5)
  • major_hurricanes (column 5) (# of major hurricanes category 3 - 5)

c) Use the max function to determine which year had the highest

  • ACE value
  • Number of tropical storms
  • Number of hurricanes
  • Number of major hurricanes

d) Determine the mean and the median values for each column in the array except for the year.

e) Use the sortrows function to rearrange the ace_data array based on the ACE values, sorted from highest to lowest.

Reference no: EM131835

Questions Cloud

Prepare your own newspaper article for the study : Prepare your own newspaper article for the study
Prepare a monthly profit report : Prepare a "Monthly Profit Report", Create this report using the results of your ABC overhead allocation.
Develop a strategic plan : Develop a strategic plan for the next three years
Influence the selection of measurement approach : Identify factors that will influence the selection of measurement approach
Import the data into matlab and name the array ace_data : 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.
Human computer interaction : Write a paper that shows a reasoned, convincing argument for a position on a selected topic.
C++ program to evaluate expressions combining set union : Create a C++ program to evaluate expressions combining set union, set intersection and parentheses
Financial accounting theory : prepare an essay which demonstrates their understanding about the issue
Evaluate the rtas resource requirements : Design and implement a set of classes and interfaces and use them to evaluate the RTA's resource requirements.

Reviews

Write a Review

MATLAB Programming Questions & Answers

  Finite difference method

Use the finite difference method to calculate the temperature at the point specified since it is easier.

  Determine the necessary shell temperature

In a shell-and-tube heat exchanger, one fluid passes through a central tube while another fluid flows through an outer shell in the opposite direction. The purpose is to heat the fluid passing through the central tube.

  Find the integral of a function at an arbitrary location

Write a Matlab function to perform numerical integration of a set of evenly spaced data points using the trapezoidal rule

  Compute the speed of single-stage planetary gear train

Write a MATLAB function [speed] = planetary (N, emesh, first, last, arm) that computes the speed of a given link in a single-stage planetary gear train.

  Calculate and plot the error in the numerical derivative

Write a program to calculate and plot the error in the numerical estimate of the derivative.

  Create the graph using matlab functions

Create the graph, which contains a piecewise function where a line exists in the first interval, a parabola in the second interval, and the sine function in the third interval.

  Develop a simulation program

Develop a simulation program

  Create a vector in matlab

Create a three dimensional diagram of function.

  Open a named pipe and to read data from the pipe

Open a named pipe and to read data from the pipe in matlab

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd