A funciont that puts a max-min limit on the input array.
The funciont is like clip in numpy.
A = clip(input, minVal, maxVal)
return a list A whose range is limited to between minVal and maxVal
Cite As
文涛 朱 (2026). clip (https://www.mathworks.com/matlabcentral/fileexchange/135406-clip), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2023b
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
