Closed Universe

versión 1.0.0.0 (4.68 KB) por Giampiero Campa
Wraps the input vector into a given hypercuboid

2,1K descargas

Actualizada 21 Nov 2005

Ver licencia

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.

Citar como

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

Compatibilidad con la versión de MATLAB
Se creó con R11.1
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías

Community Treasure Hunt

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

Start Hunting!