Clear Filters
Clear Filters

What is the alternative for 'getPeakGain' command for FOTF (Fractional Order Transfer Function)?

1 view (last 30 days)
What is the alternative for 'getPeakGain' command for FOTF (Fractional Order Transfer Function)? As getPeakGain' command only works for integer order Transfer function.
error message:
Undefined function 'getPeakGain' for input arguments of type 'fotf'.

Answers (1)

SANKALP DEV
SANKALP DEV on 8 Sep 2023
Hey Dipjyoti,
I understand you want to calculate peak gain for FTOF (Fractional Order Transfer Function).
For solving FTOF efficiently, you can download FOMCON toolbox from MATLAB addons. (MATLAB>Home>addons).After installing FOMCON, and setting the correct path, you can directly use ‘getPeakGain’ to calculate the Peak Gain.
Please consider the following code.
% Define the fractional order transfer function
s = fotf('s');
sys = tf(90,[1.2,1.5,90]); % sample FTOF
gpeak = getPeakGain(sys);
disp(gpeak)
To know more about FOMCON, please refer to following MATLAB documentation.
Hope this helps.

Products

Community Treasure Hunt

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

Start Hunting!