|
123456789101112131415161718 |
- function [x_p] = ProjectionPoint(x, SetLimmits)
-
-
-
-
-
-
-
- x_p = x;
- for i = 1:size(SetLimmits, 2)
- if x(i) < SetLimmits(i,1)
- x_p(i) = SetLimmits(i,1);
- elseif x(i) > SetLimmits(i,2)
- x_p(i) = SetLimmits(i,2);
- end
- end
- end
-
|