What does abs(1,x) mean in MATLAB?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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
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)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!