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?

 Respuesta aceptada

Walter Roberson
Walter Roberson el 20 de Nov. de 2016
You are looking at a Mupad routine for which there is no MATLAB interface. You will need to use
feval(symengine, 'numer', expression)

Más respuestas (1)

John D'Errico
John D'Errico el 19 de Nov. de 2016

0 votos

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 comentarios

Fred Garber
Fred Garber el 19 de Nov. de 2016
Editada: Fred Garber el 19 de Nov. de 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
John D'Errico
John D'Errico el 20 de Nov. de 2016
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.

Iniciar sesión para comentar.

Etiquetas

Preguntada:

el 19 de Nov. de 2016

Comentada:

el 20 de Nov. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by