Bound values of an array in matlab

The following Matlab project contains the source code and Matlab examples used for bound values of an array. Check whether value of the array within specified range or not, if in range it stays there as it is and if not then substitute by boundary value (depending upon which it breaks, if higher boundary breaks then replaced by higher boundary value and vice-versa) function [ A2comp ] = MinMaxCheck( minimum, maximum, A2comp ) A2comp is the array to check minimum and maximum are arrays which holds the minimum and maximum value of each element of an array (A2comp) respectively output returns the array where all values within the range if element of A2comp is less than minimum boundary value then it's changed to minimum boundary value if element of A2comp is greater than maximum boundary value then it's changed to maximum boundary value all array must be same in length.

The source code and files included in this project are listed in the project files section, please make sure whether the listed source code meet your needs there.

Project Files: 

File NameSize
license.txt 1313
MinMaxCheck.m 2588

SocialTags: