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


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

Previous Q& A

  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.

  Identify the various costs associated with the deployment

Identify the various costs associated with the deployment, operation and maintenance of a mobile-access system. Identify the benefits to the various categories of user, arising from the addition of a mobile-access facility.

  Compute area and perimeter of a polygon

Create a project that would let a user compute area and perimeter of a polygon

  Standard argumentative essay

identifying a key issue or question about which there is some controversy or disagreement

  Ziegler-nichols open loop tuning

Ziegler-Nichols Open Loop Tuning Often, when working with a faster loop, many people will opt only for a PI control philosophy

  Creating database structure using sql

creating database structure using SQL

  Describe main steps in the process of strategic management

Describe the main steps in the process of international strategic management


Write a Review


Similar Q& A

  Create a vector in matlab

Create a three dimensional diagram of function.

  Calculate the distance between cities

Calculate the distance between cities

  Write the commands that will create the matrix

Write the commands that will create the matrix.

  Construct the shear force and bending moment diagrams

Write the algorithm and draw the flowchart for each problem

  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.

  Design and fir filter in matlab

What does the pole-zero diagram tells you about the filter

  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.

  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 a functions

The function range basis takes a matrix A as input, and outputs a basis (again written as columns) for the range space of A.

  Lagrange interpolating polynomial of degree

Lagrange interpolating polynomial of degree

  Symmetry in the rod

matlab programming

  Least squares

For homework consider the points (0,0), (1,2), (2,3), (3,9), ( 4,17), (5,24), (6,37). (1) Use Matlab to find the least squares best fit with a line.  Turn in A, y and c and a plot like the one above.  Also (2) use Matlab to find the least square best..

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