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?

 採用された回答

Walter Roberson
Walter Roberson 2016 年 11 月 20 日

1 投票

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

その他の回答 (1 件)

John D'Errico
John D'Errico 2016 年 11 月 19 日

0 投票

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 件のコメント

Fred Garber
Fred Garber 2016 年 11 月 19 日
編集済み: Fred Garber 2016 年 11 月 19 日
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 2016 年 11 月 20 日
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.

サインインしてコメントする。

Community Treasure Hunt

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

Start Hunting!

Translated by