Be the first to rate this file! 2 Downloads (last 30 days) File Size: 4.68 KB File ID: #9096
image thumbnail

Closed Universe

by Giampiero Campa

 

20 Nov 2005 (Updated 21 Nov 2005)

Wraps the input vector into a given hypercuboid

| Watch this File

File Information
Description

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.

Required Products Simulink
MATLAB release MATLAB 5.3.1 (R11.1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
simulink Giampiero Campa 22 Oct 2008 08:07:12
wrap Giampiero Campa 22 Oct 2008 08:07:12
wrapper Giampiero Campa 22 Oct 2008 08:07:12
rem Giampiero Campa 22 Oct 2008 08:07:12
mod Giampiero Campa 22 Oct 2008 08:07:12
limits Giampiero Campa 22 Oct 2008 08:07:12
hypercube Giampiero Campa 22 Oct 2008 08:07:12
virtual reality Giampiero Campa 22 Oct 2008 08:07:12

Contact us at files@mathworks.com