How to plot binopdf? Do i need a download?

9 views (last 30 days)
I want to plot binopdf of X given certain values of n and p although when i endter binopd(x,3,.7) for example i get an error of "undefined function x" do i need to download an extension or how do i manually enter the binomial distribution?

Accepted Answer

madhan ravi
madhan ravi on 18 Nov 2018
Edited: madhan ravi on 18 Nov 2018
binopdf(X,3,.7) %you put x instead od X , matlab is case sensitive
  6 Comments
Allend Botani
Allend Botani on 18 Nov 2018
oh i see..just a side question, how qould i use a factorial symbol "!" in matlab? Thank you for your help
madhan ravi
madhan ravi on 18 Nov 2018
Anytime :) , use factorial() , if my answer helped make sure to accept the answer

Sign in to comment.

More Answers (0)

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!