How can i solve this probability problem
1 view (last 30 days)
Show older comments
Sirbu Robert
on 11 Jan 2022
Commented: Sirbu Robert
on 11 Jan 2022
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.
Accepted Answer
Image Analyst
on 11 Jan 2022
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.
More Answers (0)
See Also
Categories
Find more on Web Services in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!