Question: Matlab * It should return like above 4.4891 and 119.4 please check before you answer. Estimating the number of US males taller than the average

Matlab

Matlab * It should return like above 4.4891 and 119.4 please check

before you answer. Estimating the number of US males taller than the

* It should return like above 4.4891 and 119.4 please check before you answer.

Estimating the number of US males taller than the average NBA player. To estimate the number of US males taller than thresholdHeight inches): - Assign maleHeightSample with 1000000 normally distributed samples with mean maleHeightMean and standard deviation maleHeightStdDev Assign percentageTaller with the percentage of samples in maleHeightSample taller than thresholdHeight Assign male TallerHeight with an estimate of the number of US males taller than thresholdHeight by multiplying maleuspopulation with percetange laller - . Your Function Save C Reset MATLAB Documentation I function maleTallerHeight = EstimateTal!Males ( thresholdHeight ) 2% EstimateTallMales: Estimate number of U.S. males taller than input height 3% Inputs: thresholdHeight - height threshold 4 % Outputs: maleTallerHeight - estimated number of U.S. males taller than threshold height maleHeightMean 69.3; % (in.) maleHeightStdDev= 6.01; %(in.) maleuspopulation- 119.4; % millions 10 Initialize random number generator rng ('default'); 13 Assign maleHeightSample with 1000000 normally distributed samples with mean maleHeightMean and standard deviation maleHeightStdDev maleHeightSample = 1; % FIXME 15 Assign percentageTaller with the percentage of samples in maleHeightSample taller than thresholdHeight 18 19 20 21 percentageTaller-0.10; % FIXME Assign maleTallerHeight with an estimate of the number of US males taller than thresholdHeight by multiplying maleUSpopulation with percetangeTaller 23 24 25 maleTallerHeight=1; % FIXME end

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!