What does abs(1,x) mean in MATLAB?

7 Ansichten (letzte 30 Tage)
MathWorks Support Team
MathWorks Support Team am 27 Jun. 2009
When I use the Symbolic Math Toolbox, I get results like abs(1,x). I would like to know what it means.

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 27 Jun. 2009
In maple, the derivative of abs is denoted by abs(1, x). This is signum(x) for all non-zero real numbers, and is undefined otherwise.
Higher order derivatives of abs are denoted by abs(n, x), where 'n' is a positive integer. When 'n' is known, the expression is automatically simplified to the appropriate expression in a derivative of either signum or abs.
For more information on this function, type:
mhelp abs
For example:
syms y
diff(abs(y),y);
returns the following:
abs(1, y)

Weitere Antworten (0)

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by