Please also specify what exactly problems you have with statistical toolbox?
Main Topics
Browse All TopicsHi,
I have problems with using the statistical toolbox on some code so need to replace all code which calls functions and so on from the toolbox. I still need the functionality so appropriate code needs to be replaced with working (free) replacements. I'm running short of time as well :(
Any suggestions?
James
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Well, first you will get 'Undefined function or variable' error whilw running your code.
If you are interested in a particular function you can run
which function_name
to see where this function located. If it's somewhere under /toolbox/stats, it belongs to the Statistical Toolbox.
You can also run DEPFUN and DEPDIR functions to find all functions/directories your code depends on. See help for more details. For a large complex code it may take a lot of time and produce a lot of output, so you will have to parse it.
Hi again,
So I have made some headway, although am stuck on
normcdf(-40,mu,sigma)
statset('MaxIter',10000, 'MaxFunEvals',10000, 'Robust','on', ...
'TolBnd',1000, 'TolFun',1000)
mle(values, 'pdf',pdf_truncnorm, 'start',start, ...
'lower',[-Inf 0], 'options',options)
Any suggestions on replacements?
Cheers,
James
For normcdf try this:
http://www.mathworks.com/m
Your statset command just creates the same structure as the following code:
options = struct(...
'Display', [], 'MaxFunEvals', 10000, 'MaxIter', 10000, ...
'TolBnd', 1000, 'TolFun', 1000, 'TolTypeFun', [], ...
'TolX', [],'TolTypeX', [],'GradObj', [], 'Jacobian', [], ...
'DerivStep', [], 'FunValCheck', [], 'Robust', 'on', ...
'WgtFun', 'bisquare', 'Tune', 4.6850, 'UseParallel', [], ...
'UseSubstreams', [], 'Streams', [], 'OutputFcn', []);
As for MLE, I cannot give you a simple replacement. Look at the MatlabCentral FileExchange (http://www.mathworks.com/
Business Accounts
Answer for Membership
by: yuk99Posted on 2009-10-28 at 08:00:01ID: 25683971
What functions are you talking about? Some functions from Statistical Toolbox are not so difficult to implement. For many you can find replacement on MatlabCental's File Exchange: http://www.mathworks.com/m atlabcentr al/fileexc hange/
Cannot help you without more details.