Undefined function or variable 'numer'.

I'm running MATLAB Version: 9.1.0.441655 (R2016b) with Symbolic Math Toolbox Version 7.1 I have "restoredefaultpath" and "rehash toolboxcache"
Help?

 Accepted Answer

You are looking at a Mupad routine for which there is no MATLAB interface. You will need to use
feval(symengine, 'numer', expression)

More Answers (1)

There is no function in MATLAB called numer. That is why you get an undefined function or variable error.
Possibly you wanted to create a variable by that name. Possibly you wanted to use some other function. Could be you wanted the function numel. How can we possibly know? The crystal ball is so foggy these days.

2 Comments

Fred Garber
Fred Garber on 19 Nov 2016
Edited: Fred Garber on 19 Nov 2016
From Mathworks 2016b Documentation:
numer(f) returns the numerator of the expression f.
numer regards the input as a rational expression: non-rational subexpressions such as sin(x), x^(1/2) etc. are internally replaced by "temporary variables". The numerator of this rationalized expression is computed, the temporary variables are finally replaced by the original subexpressions. -----------------------
I didn't advertise this useful function in Matlab's documentation; I just want to use it. Thanks
As I said, numer is NOT part of MATLAB. It is not accessible form MATLAB, but part of Mupad. You can only use it from there.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!