PLASE show your code Plot a 3D magnitude plot to show z doma
PLASE show your code
Plot a 3D magnitude plot to show z domain map in MATLAB H(z)=1-z^-1/1-1/6z^-1-1/6z^-2Solution
a=[1 -1];
 b=[1 -1/6 -1/6];
 [x, y] = meshgrid(-3:0.1:3);
 z = x+y*j;
 res = (polyval(fliplr(b), z))./(polyval(fliplr(a),z));
 imagesc(-3:0.1:3,-3:0.1:3, abs(res));
 hold on
 rectangle(\'curvature\', [1 1], \'position\', [-1 -1 2 2], \'edgecolor\', \'w\');
 axis equal
![PLASE show your code Plot a 3D magnitude plot to show z domain map in MATLAB H(z)=1-z^-1/1-1/6z^-1-1/6z^-2Solutiona=[1 -1]; b=[1 -1/6 -1/6]; [x, y] = meshgrid(- PLASE show your code Plot a 3D magnitude plot to show z domain map in MATLAB H(z)=1-z^-1/1-1/6z^-1-1/6z^-2Solutiona=[1 -1]; b=[1 -1/6 -1/6]; [x, y] = meshgrid(-](/WebImages/31/plase-show-your-code-plot-a-3d-magnitude-plot-to-show-z-doma-1086771-1761571573-0.webp)
