Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

Count the number of heads and tails using the sum function with logical indexing.

2 Ansichten (letzte 30 Tage)
L
L am 2 Mär. 2024
Geschlossen: John D'Errico am 2 Mär. 2024
The number of coin flips is 100. How do I count the number of heads and tails using the sum function with
logical indexing? Divide each count by n to get the proportion of heads and tails.

Antworten (0)

Diese Frage ist geschlossen.

Community Treasure Hunt

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

Start Hunting!

Translated by