Returns the value of the element with the largest abs value in the input matrix 'A'. Input 'A' must be numeric, but can be any size and shape.
This is useful because it eliminates iterating through all the dimensions of a matrix.
examples:
A=[-5 3 2 3; 3 2 1 4];
absmax(A) will return -5
A=[643,10];
absmax(A) will return 643
引用格式
Adam McNeilly (2026). absmax (https://ww2.mathworks.cn/matlabcentral/fileexchange/41115-absmax), MATLAB Central File Exchange. 检索时间: .
| 版本 | 已发布 | 发行说明 | Action |
|---|---|---|---|
| 1.0.0.0 |
