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.

댓글을 달려면 로그인하십시오.

질문:

2016년 11월 19일

댓글:

2016년 11월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by