Function making of certai block

4 views (last 30 days)
arsal javed
arsal javed on 23 Jul 2022
hello can some one plz tell me how to make a matlab function of this
ProbSuccess(ProbSuc,ProbPosSuc,ProbPosFail,NPos,NNeg)
where ProbSuc = P(Success).
ProbPosSuc = P(For | Success).
ProbPosFail = P(For | Fail).
NPos = the number of reviewers who have given a positive review.
NNeg = the number of reviewers who have given a negative review.
This returns the conditional probability of success, given these parameters.

Answers (0)

Tags

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!