MAXABS(x) returns the maximum absolute value of x
Version 1.1.0.0 (1.11 KB) by
Brenden Epps
MAXABS(x) returns the maximum absolute value of x
MAXABS(x) returns the maximum absolute value of x (see also: MAX, ABS)
The only point of this function is to save key strokes:
maxabs(x) == max(abs(x(:)))
If you use Matlab often and you value your time, then this function may appeal to you.
Cite As
Brenden Epps (2023). MAXABS(x) returns the maximum absolute value of x (https://www.mathworks.com/matlabcentral/fileexchange/37075-maxabs-x-returns-the-maximum-absolute-value-of-x), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Language Fundamentals > Matrices and Arrays >
- MATLAB > Language Fundamentals > Operators and Elementary Operations >
Find more on Matrices and Arrays in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.