clip

Version 1.0.0 (1.24 KB) by 文涛 朱
A function like clip in python.
25 Downloads
Updated 15 Sep 2023

View License

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 Linux
Tags Add Tags
Version Published Release Notes
1.0.0