How to use matlab to calculate a gain, to a specific limit of a transfer function?

53 views (last 30 days)
The equation is like the pic shown, matlab kept popping up that I can’t use limit within tf. Just wondering how do I use matlab to get the k value

Answers (1)

Paul
Paul on 11 Oct 2020
You can use
evalfr(minreal(sys),f)
f is the complex frequency to which you want to take the limit. The minreal is to make sure you cancel common poles and zeros before taking the limit. Be careful if you have poles and zeros that should cancel but don’t because they aren’t quite numerically the same.

Community Treasure Hunt

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

Start Hunting!