Balanced Truncation

Script for obtaining balanced truncation for a given system
2.1K Downloads
Updated 11 Sep 2008

View License

The script computes the reduced order model of a given system using Balanced Truncation technique. Both stable and unstable systems can be handled here.

NewR=BalanceTrunc(A,B,C,D,orders)
Where A,B,C,D are the system matrices of the state space representation and orders is the order of the reduced order model.

In addition to matrices, state space object is also accepted by the script.

NewR=BalanceTrun(sys,orders)
In this format, the state space model sys is reduced to a 'orders'-order model.

It may also be noted that the function can also be used as BalanceTrunc(A,B,C,D) OR BalanceTrunc(sys), i.e., without specifying the desired reduced order. In which case, all feasible
reduced order realizations are presented as a cell array of state space objects.

Cite As

Janardhanan Sivaramakrishnan (2024). Balanced Truncation (https://www.mathworks.com/matlabcentral/fileexchange/21393-balanced-truncation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0

Errors regarding variable 'ips' corrected. Code improved slightly.