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!

Categories

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.