Probabilities(help needed with MATLAB-excercise) - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Probabilities(help needed with MATLAB-excercise)

nikko-cnikko-c Posts: 1Member
Hello, i am a beginner and i have no idea how i can solve the following excercise by using Matlab. Please help me..This exercise is a very important project that i must do until 15 June.

Write a program to take two events A and B that are composed of m and n independent outcomes, respectively, with probabilities given. In addition, there are p outcomes common to events A and B, also with probabilities given. Your program should be able to compute all posible probabilities involving A and B. That is, P(A), P(B), P(A and B), P(AUB), P(A|B), and P(B|A).
Sign In or Register to comment.