maxstar(x) is the natural log of a sum of exponentials overcoming the numerical failure of log(sum(exp(x))) for extreme values of an argument vector x.
maxstar(x,[],dim) has the N-D array features of the MATLAB max function.
maxstar(x,w,dim) is the natural log of a weighted sum of exponentials.
The max* function is described in Lin & Costello, Error Control Coding, 2nd Edition, equation 12.127.
Cite As
Robert Dickson (2026). maxstar (https://se.mathworks.com/matlabcentral/fileexchange/10209-maxstar), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Code Verification > Polyspace Code Prover > Configure and Run Analysis > Complete List of Polyspace Code Prover Analysis Options > Environment Settings >
- Verification, Validation, and Test > Polyspace Code Prover > Configure and Run Analysis > Complete List of Polyspace Code Prover Analysis Options > Environment Settings >
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | Major revision to reproduce the N-D array features of the MATLAB max function, following a suggestion by John D'Errico. |
