Posts

Showing posts from March, 2022

List of all the MATLAB commands related to transfer function, pole-zero-gain and step response.

    Create Transfer Functions    Using Equation: Type the command to assign the numerator and denominator coefficient vectors of the transfer function you need to obtain.       s = tf('s');       G = (s+1)/(s^+0.1s+10); %example Transfer function    Using Numerator and Denominator Coefficients: create continuous-time single-input, single-output (SISO) transfer functions from their numerator and denominator coefficients using tf  command.       G = tf(num,den);    Using Zeros, Poles, and Gain: z and p are the zeros and poles (the roots of the numerator and denominator, respectively). k is the gain of the factored form.  G is a zpk model object, which is a data container for representing transfer functions in zero-pole-gain (factorized) form.       G = zpk(Z,P,K); ...