Tunable Low-Pass Filter

This example shows how to create the low-pass filter F = a/(s + a) with one tunable parameter a.

You cannot use tunableTF to represent F, because the numerator and denominator coefficients of a tunableTF block are independent. Instead, construct F using the tunable real parameter object realp.

  1. Create a tunable real parameter.

    a = realp('a',10);   

    The realp object a is a tunable parameter with initial value 10.

  2. Use tf to create the tunable filter F:

    F = tf(a,[1 a]);

F is a genss object which has the tunable parameter a in its Blocks property. You can connect F with other tunable or numeric models to create more complex models of control systems. For an example, see Control System with Tunable Components.

Related Examples

More About

Was this topic helpful?