idtf
Transfer function model with identifiable parameters
Description
An idtf model represents a system as a continuous-time or
      discrete-time transfer function with identifiable (estimable) coefficients. Use
        idtf to create a transfer function model, or to convert Dynamic System Models to transfer
      function form.
A SISO transfer function is a ratio of polynomials with an exponential term. In continuous time,
In discrete time,
In discrete time, z–k represents a time delay of kTs, where Ts is the sample time.
For idtf models, the denominator coefficients
        a0,...,am–1
      and the numerator coefficients
          b0,...,bn
      can be estimable parameters. (The leading denominator coefficient is always fixed to 1.) The
      time delay τ (or k in discrete time) can also be an
      estimable parameter. The idtf model stores the polynomial coefficients
        a0,...,am–1
      and
        b0,...,bn
      in the Denominator and Numerator properties of the
      model, respectively. The time delay τ or k is stored in
      the IODelay property of the model.
Unlike idss and idpoly,
        idtf fixes the noise parameter to 1 rather than parameterizing it. So,
      in , H = 1. 
A MIMO transfer function contains a SISO transfer function corresponding to each
      input-output pair in the system. For idtf models, the polynomial
      coefficients and transport delays of each input-output pair are independently estimable
      parameters.
Creation
You can obtain an idtf model object in one of three ways.
- Estimate the - idtfmodel based on input-output measurements of a system using- tfest. The- tfestcommand estimates the values of the transfer function coefficients and transport delays. The estimated values are stored in the- Numerator,- Denominator, and- IODelayproperties of the resulting- idtfmodel. When you reference numerator and denominator properties, you can use the shortcuts- numand- den. The- Reportproperty of the resulting model stores information about the estimation, such as handling of initial conditions and options used in estimation. For example, you can use the following commands to estimate and get information about a transfer function.- sys = tfest(data,nx); num = sys.Numerator; den = sys.den; sys.Report - For more examples of estimating an - idtfmodel, see- tfest.- When you obtain an - idtfmodel by estimation, you can extract estimated coefficients and their uncertainties from the model. To do so, use commands such as- tfdata,- getpar, or- getcov.
- Create an - idtfmodel using the- idtfcommand. For example, create an- idtfmodel with the numerator and denominator that you specify.You can create an- sys = idtf(num,den) - idtfmodel to configure an initial parameterization for estimation of a transfer function to fit measured response data. When you do so, you can specify constraints on such values as the numerator and denominator coefficients and transport delays. For example, you can fix the values of some parameters, or specify minimum or maximum values for the free parameters. You can then use the configured model as an input argument to- tfestto estimate parameter values with those constraints. For examples, see Create Continuous-Time Transfer Function Model and Create Discrete-Time Transfer Function.
- Convert an existing dynamic system model to an - idtfmodel using the- idtfcommand. For example, convert the state-space model- sys_ssto a transfer function.For a more detailed example, see Convert Identifiable State-Space Model to Identifiable Transfer Function- sys_tf = idtf(sys_ss); 
For information on functions you can use to extract information from or transform
        idtf model objects, see Object Functions.
Syntax
Description
Create Transfer Function Model
sys = idtf(numerator,denominator)numerator specifies the current values of the transfer function numerator
            coefficients. denominator
            specifies the current values of the transfer function denominator coefficients.
sys = idtf(numerator,denominator,Ts)Ts. 
sys = idtf(___,Name,Value)Name,Value pair arguments. Specify
            name-value pair arguments after any of the input argument combinations in the previous
            syntaxes.
Input Arguments
Properties
Object Functions
In general, any function applicable to Dynamic System Models is
      applicable to an idtf model object. These functions are of four general types.
- Functions that operate and return - idtfmodel objects enable you to transform and manipulate- idtfmodels. For instance:
- Functions that perform analytical and simulation functions on - idtfobjects, such as- bodeand- sim
- Functions that retrieve or interpret model information, such as - adviceand- getpar
- Functions that convert - idtfobjects into a different model type, such as- idpolyfor time domain or- idfrdfor frequency domain
The following lists contain a representative subset of the functions that you can use with
        idtf models.
Examples
Version History
Introduced in R2012a