Problem persists even if I follows the example in Help as: m = 100*exp(0.10*[0:19]'); R = price2ret(m);
Error message: ??? Undefined function or method 'price2ret' for input arguments of type 'double'.
I did explicitly set my current directory to the Econ toolbox that holds price2ret.m.