UnWrapper

Unwraps angles so that continuity is restored.

https://github.com/giampy1969/simulink-unwrapper-block

You are now following this Submission

simulink-unwrapper-block

View UnWrapper on File Exchange

Open in MATLAB Online

Normally, the output of functions that return angles (e.g. atan2) is strictly constrained within the range 0 to 2*pi or within the range -pi to pi.

Therefore, even if the inputs change continuously, the angle will exhibit 2*pi jumps across the limits, which is sometimes undesirable (e.g. when the angle drives a control system).

This block unwraps an input angle to the whole real axis so that it does not make 2*pi jumps anymore.

In order to distinguish jumps from normal behavior, an upper bound on the maximum time derivative of the input is assumed.

Cite As

Giampiero Campa (2026). UnWrapper (https://github.com/giampy1969/simulink-unwrapper-block/releases/tag/v1.1), GitHub. Retrieved .

Categories

Find more on Simulink in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1

See release notes for this release on GitHub: https://github.com/giampy1969/simulink-unwrapper-block/releases/tag/v1.1

1.0.0.0

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.