3.0

3.0 | 1 rating Rate this file 5 Downloads (last 30 days) File Size: 6.5 KB File ID: #5614
image thumbnail

Signal Wrapper

by Cole Stephens

 

02 Aug 2004 (Updated 20 Oct 2010)

Prevent a signal from growing beyond a certain value.

| Watch this File

File Information
Description

Ever have a signal that represented an angle? Once the angle exceeded 360 degrees, it just kept on growing...even though it really only makes sense to see an angle between 0 and 360 degrees.

That was the basis for creating this block, but it's certainly not limited to angles.

Required Products Simulink
MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (1)
13 Apr 2006 Matt Jardin

While concise, this function would be much improved if it could work for both max and min limits. As it is, negative input values aren't handled very well.

Please login to add a comment or rating.
Updates
20 Oct 2010

Added License Info.

20 Oct 2010

Added License Info.

Tag Activity for this File
Tag Applied By Date/Time
simulink Cole Stephens 22 Oct 2008 07:28:47
wrap Cole Stephens 22 Oct 2008 07:28:47
overflow Cole Stephens 22 Oct 2008 07:28:47
reset Cole Stephens 22 Oct 2008 07:28:47
restart Cole Stephens 22 Oct 2008 07:28:47
angle Cole Stephens 22 Oct 2008 07:28:47

Contact us at files@mathworks.com