How many missing entries there are for each of the variables

Assignment Help Mechanical Engineering
Reference no: EM13839267

Your task is to complete Assignment 1 (i.e. report the average power in an undisturbed stream of air for every single time that is listed), so you must provide each hour with an entry for all the variables except for Wind direction. This means you will need to process a total of 4 variables. Look up “nan” in the MATLAB help for assistance in functions pertaining to NaN.

For this assessment item, you must produce MATLAB code which:

1. Identifies which entries are missing.

2. Displays a message in the Command Window showing how many missing entries there are for each of the relevant variables.

3. Uses a range of methods for replacing the missing entries:

(a) sets the missing entry to zero

(b) uses the value from the previous entry

(c) uses the value from the next entry

(d) uses linear interpolation

(e) uses spline interpolation

4. Checks that none of the inserted values is non-physical (i.e. checks that all of the inserted values satisfy the physical properties of speed, temperature and pressure).

5. Displays a message in the Command Window with a brief assessment of how good each method is, whether it is suitable for the task of processing all 4 variables and why. You should also note which method you think is best and, if necessary, add any additional comments to justify that choice.

6. Uses the method that was chosen to be the best to create a complete data set for the 4 variables.

7. Displays a message in the Command Window showing the average power and the maximum power for the entire dataset.

8. Saves the complete dataset for the time and 4 variables to a text file and also a mat-file for future use.

9. Has appropriate comments throughout.

You must also use linear interpolation by hand to replace the second entry of wind speed (replace the known value in the second row of data with an interpolated value); submit this working in a pdf file. Your MATLAB code must test (verify) whether this value is the same as computed by the code for linear interpolation to replace the second entry.

 Assessment Criteria

Your code will be assessed using the following scheme. 

  • Quality of header(s) and comments 
  • Quality of identifying which are missing entries 
  • Quality of replacing the missing entries with an appropriate value 
  • Quality of checking entries 
  • Quality of discussion 
  • Quality of reporting
  • Quality of file output 
  • Quality of verification based on hand calculations 

Reference no: EM13839267

Questions Cloud

Describe artist''s major achievements of the max ernst : Research and write Two page (500 words) biography and describe artist's major achievements of the Max Ernst's essay . Also another Two Pages of images that best represent their creative accomplishments.
Determine most cost effective option for boone travel agency : The travel agency will be open an average of 20 days per month, eight hours each day. Customers arrive according to a Poisson process, and customer service times follow an exponential distribution. Determine the most cost effective option for Boone..
Overall view of logistics and transportation : Based on your reading, give your understanding of the industry and what you have learned. Explain how course has changed your overall view of logistics and transportation.
Contrast the network connectivity : Compare and contrast the network connectivity in the following two diagrams.
How many missing entries there are for each of the variables : For this assessment item, you must produce MATLAB code which: 1. Identifies which entries are missing. 2. Displays a message in the Command Window showing how many missing entries there are for each of the relevant variables. 3. Uses a range of metho..
Examining a case study : Welcome to the MATT project case study. The goals of the project were to engineer a software product that automated testing of real time system models built on the MatrixX platform using simulation. The project had a staff of twelve people deploye..
Determine the optimal ordering policy for concentrate : The shelf life of the concentrate is 80 days and the ordering cost is $750. Orders must be placed in 1000-gallon increments. The lead time for delivery is 10 days. Management wishes to determine the optimal ordering policy for concentrate.
Flowchart describing the entire change management plan : Identify one specific activity to be performed within the process change - describe the activity being evaluated.
Explain what common law and equity are and how they differ : Explain what common law and equity are and how they differ. Are all people's ethical judgments the same. Why or Not

Reviews

Write a Review

Mechanical Engineering Questions & Answers

  What is the minimum power required to drive the heat pump

many modern houses use heat pumps for winter heating and then their owners reverse the cycle and enjoy summer cooling

  Maximum inner diameter for the shaft for a yield strength

A shaft with a 2-inch outer diameter must deliver 5000 ft-lbs of torque. The shaft must be hollow and must simultaneously carry hydraulic fluid at an internal pressure of 30,000 psi. Assuming the shaft is closed-ended, and using the von Mises yield c..

  Determine the max discharge rate of water through the pipe

the water in a 8m diameter 3m high above ground swimming pool is to be emptied by unplugging a 3cm diameter 25m long

  Assume that the ends of the bar have been kept at 100

assume that the ends of the bar have been kept at 100 degrees c for a long time. then at some instant call it t0 the

  Steady-state creep rate data are given for an alloy taken

steady-state creep rate data are given for an alloy taken at 474 k with the activation energy for creep of 140000

  Banded linear system of equations using gauss-seidel method

Write a program to solve a banded linear system of equations using the Gauss-Seidel method. A user is prompted for the file paths containing the coefficient and constants matrices. The matrices are provided and loaded using csv read. Then the user mu..

  Difference between the cooling rate and hardenability

What is the difference between the cooling rate and hardenability? How the sample sizes affect the cooling rate and hardenability and martensite can also be obtained through water quenching of alloy steels, why oil quenching is normally used in in..

  Suppose random variable

Suppose random variable X is normally distributed. Find the probability that X is less than 6 or X is at least 12...

  What is the pressure differeence between the inside of a

what is the pressure differeence between the inside of a soap bubble and the atmosphere for a 3 inch diameter bubble?

  Asolute pressure is known at both inlet and outlet

water flows in a horizontal pipe with entrance velocity 2.5ms is turning 90 degrees and leaves the pipe. pipe diameter

  Assuming ideal gas behavior for the air and neglecting

a rigid well-insulated tank with a volume of 3 fe contains air at p1 22 lbfin2 and t1 475 bullr. the air is stirred by

  Due to the drag resistance of the fluid the projectile

a small projectile is fired vertically downwards into a fluid medium with an initial velocity of 60 ms. due to the drag

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