how can I use matlab to solve this probability problem?
Show older comments
Consider a binary code with 6 bits (0 or 1) in each code word.
(a) How many code words have exactly three successive 0’s? (b) What is the probability of the code word 000111?
I tried using matlab to no avail.
Accepted Answer
More Answers (1)
Roger Stafford
on 24 Mar 2014
1 vote
That's the kind of problem that can be solved mentally faster than a program can be written to do it. So why bother using matlab?
Categories
Find more on Logical 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!