You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
%% returns the control parameters of compensator design (lead or lag)
%input parameters ([required] and [optional]):
% @comp_type: type of compensator (available types are lead and lag)
% [required]
% @PM: The desired phase margin (should include the extra margin as desired
% 5 ~ 15 )[required]
% @sys: the transfer function object representing uncompensated open-loop
% system [required]
% @type: type of the open-loop system in terms of tracking for a polynomial
% input [required]
% @ess: the required ess [optional] [default: 0.1]
% @T_factor: The factor by which the T value for lag compensator is
% multiplied, the factor is typically 2 to 10 (one octave to one decade)
% [optional] [default: 5]
%% specify parameters example:
% compensator_design("comp_type", "lead", "PM", 40, "sys", sys )
%%
Cite As
Amaldev Haridevan (2026). compensator_design (https://uk.mathworks.com/matlabcentral/fileexchange/103735-compensator_design), MATLAB Central File Exchange. Retrieved .
General Information
- Version 2.0.0 (2.61 KB)
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
