How can i solve this probability problem

White blood cells are classified into 5 categories, one of which is neutrophil cells. Typically, there are 100 cells that fall into these categories. For a healthy adult the probability of finding neutrophils is 0.6. Determine the probability that a healthy adult will find between 50 and 75 (inclusive) cells.

1 件のコメント

Sirbu Robert
Sirbu Robert 2022 年 1 月 11 日
編集済み: Sirbu Robert 2022 年 1 月 11 日
Is there anyone to help me please, how i can i solve this in Matlab...
Please...

サインインしてコメントする。

 採用された回答

Image Analyst
Image Analyst 2022 年 1 月 11 日

0 投票

Did you want to do it via a Monte Carlo simulation, or via built-in functions? If you want a Monte Carlo simulation, here is a start.
numTrials = 500000;
numCells = 100;
for k = 1 : numTrials
r = rand(numCells, 1) < 0.6;
numCellsThisTrial(k) = sum(r);
end
histogram(numCellsThisTrial)
grid on;
ylabel('Number of images');
xlabel('Count per image')
Hopefully you can take it from there.

2 件のコメント

Sirbu Robert
Sirbu Robert 2022 年 1 月 11 日
Via Monte Carlo, and why did you put numTrials=50000?
Sirbu Robert
Sirbu Robert 2022 年 1 月 11 日
And what is the probability that a healthy adult has beetwen 50-75 neutrophil cells, numeric value???

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMonte-Carlo についてさらに検索

製品

リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by