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^-2

Solution

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(-

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site