MATLAB: How to convert an equation from z-plane to w-plane in MATLAB

bilinearMATLABw-planez-plane

If we have an equation like G(z)=(2z^3-4.424z^2+3.3634z-0.8721)/(z^4-3.037z^3+3.425z^2-1.6935237z+0.3084332) how do we convert this to w-plane by using bilinear transformation z=(1+w)/(1-w)? Is there a single command or are a set of commands available?

Best Answer

syms z w
G=(2*(z.^3)-4.424*(z.^2)+3.3634*z-0.8721)/((z.^4)-3.037*(z.^3)+3.425*(z.^2)-1.6935237*z+0.3084332);
GN=subs(G,z,(1+w)/(1-w))