Converting Zero-Pole Model to Transfer Function Model Using MATLAB
First, write out the system’s zero vector, pole vector, and system gain, then call zp2tf() to obtain the system’s transfer function model, and call zp2ss() to obtain the system’s state-space model. % Convert zero-pole model to transfer function model %zp2ss();zp2tf()%X’ = A*X + B*U;%Y = C*X + D*U%%%%%%%%%%%clear all;clc;close all;%%%%%%%%%%%%%%example 1%%gainK = 2.7;%%zeroZ = [-3.6 … Read more