C Math Library Reference | ![]() ![]() |
Absolute value and complex magnitude
C Prototype
mxArray *mlfAbs(mxArray *X);
C Syntax
#include "matlab.h" mxArray *X; /* Required input argument(s) */ mxArray *Y = NULL; /* Return value */ mlfAssign(&Y, mlfAbs(X));
MATLAB Syntax
Y = abs(X)
See Also
abs
Calling Conventions![]() | Logical Operators | mlfAcos, mlfAcosh | ![]() |