The norminv function is not working in my code. i have included the error message I am receiving. I obtained this function from the Oxford MFE toolbox website. Any suggestions?

5 views (last 30 days)
Undefined function 'iscompatible' for input arguments of type 'double'.
Error in norminv (line 34) [err, errtext, sizeOut, mu, sigma] = iscompatible(2,mu,sigma,size(p));
Error in E92qcov (line 64) zq=norminv(0.01,0,1);

Accepted Answer

the cyclist
the cyclist on 16 Mar 2015
Oops. Forget my other answer.
The Oxford MFE Toolbox is assuming you have the Financial Toolbox installed, which has the iscompatible function.

More Answers (1)

the cyclist
the cyclist on 16 Mar 2015
Hm. Maybe I have a later version, but my norminv does not call a function called iscompatible. I am guessing that this may not be the MATLAB version, and we may not be able to help you much.
What do you get if you type
which -all norminv
?

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!