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

  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.

  Create a vector in matlab

Create a three dimensional diagram of function.

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

  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

  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.

  An efficient human identification using gait analysis

An Efficient Human Identification Using Gait Analysis, Apply specific approach for Pattern Recognition,Implement this approach in MATLAB,Compare and discuss the results with others.

  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.

  Construct the shear force and bending moment diagrams

Write the algorithm and draw the flowchart for each problem

  Filtering – biomedical application

Prepare a filter that removes noise produced by electronic medical equipment.

  Fingerprint watermarking techniques

Need to investigate the best method to embed watermark image into fingerprint image.

  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.

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