Generic cdf function versus a specific one

1 view (last 30 days)
Brett
Brett on 12 Dec 2011
Is it slower to use the cdf function rather than the specific cdf function for a given distribution? For example, will a = wblcdf(X,A,B) be faster than a = cdf('Weibull',X,A,B)? The cdf function simply calls each specific cdf function depending on the named distribution. I want to use the cdf function because the distribution name is an input parameter, but I also want my code to be efficient.

Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!