How i can calculate conditional probability in matlab

68 views (last 30 days)
i want user to inter a data in table and then the matlab calculate conditional probability p(A|B)=p(AB)/p(B) for example:
please help me i tried many codes but didn't work

Answers (1)

Tatvam Dadheech
Tatvam Dadheech on 9 Jul 2019

Community Treasure Hunt

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

Start Hunting!