Closed Universe

버전 1.0.0.0 (4.68 KB) 작성자: Giampiero Campa
Wraps the input vector into a given hypercuboid

다운로드 수: 2.1K

업데이트 날짜: 2005/11/21

라이선스 보기

When the input is inside the n-dimensional box defined by the two limiting vectors Min and Max, then the output is equal to the input. When the input exceeds a limit along one dimension, the output reappears "on the other side" of the box, along the same dimension.

This block is especially useful if you want to keep the evolution of a given variable in a certain range, for example, when displaying images with the virtual reality toolbox, it is better to keep the object positions within certain limits, otherwise numerical problems may prevent a correct visualization.

인용 양식

Giampiero Campa (2023). Closed Universe (https://www.mathworks.com/matlabcentral/fileexchange/9096-closed-universe), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R11.1
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0