display pass if 95% of the value below one value
1 回表示 (過去 30 日間)
古いコメントを表示
Hi,
I'm having a problem with the statistical evaluation. Help me to solve the issue.
I have a bar chart of position difference (cm) against date. So let say I have collect 80 days of data. I want to display 'pass' if 95% of all the data collected is below 0.35 cm and 'fail' in contrast.
Thank you in advance.
0 件のコメント
採用された回答
ES
2017 年 8 月 30 日
dataIn = rand(1,80);
if (sum(dataIn>.35)/numel(dataIn)>.95)
disp('PASS');
else
disp('FAIL');
end
その他の回答 (0 件)
参考
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!