find probability of some data
2 ビュー (過去 30 日間)
古いコメントを表示
I have some data in simulink, I want to know what is the probability of these data to be less than some determined constant number?
is there any function or way in matlab to find it?
0 件のコメント
回答 (1 件)
the cyclist
2023 年 6 月 7 日
data = [2 3 5 7 11 13 17];
constant = 6;
probabilityDataLessThanConstant = mean(data<constant)
0 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!