Info

此问题已关闭。 请重新打开它进行编辑或回答。

One function 3 files

3 次查看(过去 30 天)
Asuna Rayleigh
Asuna Rayleigh 2021-2-11
关闭: Rik 2021-2-11
Could someone please help and explain this to me.
Suppose you work for a battery manufacturer, and you have pulled a sample of batteries out for testing (note that different number of batteries are associated with different tests). Your company has determined that for a battery to be acceptable for sale, it must meet the following specifications:
Voltage: 1.18-1.22
Length (mm): 50.5-51.5
Diameter (mm): 13.5-14.5
You will be writing a function that takes as inputs a file name and lower/upper limits for whatever property you are examining. The function will output statistical data. Write a general function that will work for any set of data! Do NOT write three separate functions.
You should write a program (i.e. function) that:
a. Finds the mean, maximum, minimum, and standard deviation of the quantity being examined (either voltage, diameter, or length).
b. Determines the percentage of items you expect to meet specifications based on your sample.
For testing, use the following three files:
  1 个评论
Rik
Rik 2021-2-11
You can find guidelines for posting homework on this forum here. If you have trouble with Matlab basics you may consider doing the Onramp tutorial (which is provided for free by Mathworks).

回答(0 个)

此问题已关闭。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by