saturation function

This file contains an approximation of the saturation of a function between the values [-1,1].
5.3K Downloads
Updated 19 Feb 2009

View License

This file contains a funtion (mfile) and a simulink block. They both give the approximation of the saturation of a function between the values [-1,1]. The main advantage and purpose of designing this simple yet powerful function is to obtain a smooth funtion that has a continous derivative.
It can be easily adjusted to different lower and upper bounds by alterning the value "5" in the formula. Play around with it as you desire and as suitable to your application.
It can be used in control applications like sliding mode control (that uses the saturation) and other control schemes.

Cite As

Nassim Khaled (2024). saturation function (https://www.mathworks.com/matlabcentral/fileexchange/23042-saturation-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Electrical Block Libraries in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!

saturation/

saturation/

Version Published Release Notes
1.0.0.0