How to find transfer function from poles and zeros in matlab?
First convert the poles and zeros to transfer function form, then call fvtool . Click the Pole/Zero Plot toolbar button, select Analysis > Pole/Zero Plot from the menu, or type the following code to see the plot. To use zplane for a system in transfer function form, supply row vector arguments.
What is tf2zp in Matlab?
[ z , p , k ] = tf2zp( b , a ) finds the matrix of zeros z , the vector of poles p , and the associated vector of gains k from the transfer function parameters b and a . The function converts a polynomial transfer-function representation.