Ask Question, Ask an Expert


Ask MATLAB Expert

Problem 1

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


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

Problem 2

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= Σv2 max/104

This parameter is related to the energy of the storm, as kinetic energy is proportional to velocity squared. Though, it doesn't take into account the size of the storm, which will be necessary for the true total energy estimate. Reliable storm data have been collected in the Atlantic Ocean since 1950, and are included in a file known as ace.xlsx. Import this file into MATLAB using following 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

i. years (column 1) (year of record)

ii. ace (column 2) (ACE Index)

iii. tropical_storms (column 3) (# of tropical storms)

iv. hurricanes (column 4) (# of hurricanes category 1 – 5)

v. major_hurricanes (column 5) (# of major hurricanes category 3 – 5)

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

i. ACE value

ii. Number of tropical storms

iii. Number of hurricanes

iv. Number of major hurricanes

d) Find out 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.

MATLAB, Engineering

  • Category:- MATLAB
  • Reference No.:- M91543

Have any Question? 

Related Questions in MATLAB

Labobjectiveslearn how to create vectors and matrices in

Lab Objectives ? Learn how to create vectors and matrices in MATLAB ? Become familiar with some of the built-in MATLAB functions and how they work Deliverables ? Submit your pre-lab answers in Bblearn under the Lab 2 pre ...

Introduction to programming in matlab1 working with matlab

Introduction to Programming in MATLAB 1. Working with MATLAB scalars, vectors, and complex numbers. Using MATLAB, define a unique variable for the following quantities. a. 5 (ex. Define x = 5, etc.) b. 25 2 c. (3 + 4??) ...

Project 1complete parts 1a 1b and 1cprepare a report

Project 1 Complete parts 1A, 1B, and 1C Prepare a report describing your steps and results Send by email a zip or rar file that contains the report and all MATLAB files you have used. Project 1A: In this project, we cons ...

Pre-labobjectiveslearn how to use various matlab built-in

Pre-Lab Objectives ? Learn how to use various MATLAB built-in functions ? Become familiar with vector and matrix multiplication in MATLAB The input function is a MATLAB built-in function that allows a program to accept u ...

Provide matlab code as per the research paperresearch paper

Provide MATLAB code as per the research paper. Research paper - Decimeter-Level Localization with a Single WiFi Access Point We present Chronos, a system that enables a single WiFi access point to localize clients to wit ...

Part -1introduction to programming with matlab1 the

Part -1: Introduction to Programming with MATLAB 1. The function move_me is defined like this: function w = move_me(v,a). The first input argument v is a row-vector, while a is a scalar. The function moves every element ...

Discrete communicationsobjectiverevision of fundamental

Discrete Communications Objective: Revision of fundamental concepts and demonstration of necessary foundation skills. Assessment: The assignment will comprise 20% of your final mark and all ten problems will be of equal ...

It is desired to design a power electronic system referred

It is desired to design a power electronic system, referred to as ‘the device' in below, which has the following specifications: - The device is supplied from a single-phase wall outlet which has a 240 V rms, 50 Hz speci ...

1 you are testing a theory which says that the output

1. You are testing a theory which says that the output displacement of a measurement device should vary with time according to the equation: D(x) = {x 2 cos (x)} / (x +1) So far, you have measured the following set of ex ...

Assignment 1 -question 1 design a pumping system that will

Assignment 1 - Question 1: Design a pumping system that will transfer raw water from Reservoir A to Reservoirs B and C. A control valve shall be located in Line D-C next to Reservoir C to control the share of flow betwee ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate