Function making of certai block

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)

Products

Release

R2020a

Tags

Asked:

on 23 Jul 2022

Community Treasure Hunt

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

Start Hunting!