Question

how to plot residue function output onto z-plane using zplane function and also plot using fvtool?...

how to plot residue function output onto z-plane using zplane function and also plot using fvtool?

[r,p,k] = residue(b,a)

This is a matlab question

Homework Answers

Answer #1

`Hey,

Note: If you have any queries related to the answer please do comment. I would be very happy to resolve all your queries.

clc

clear all

close all

format long

b=[1,2];

a=[1,2,3,4];

[r,p,k] = residue(b,a);

fvtool(r,p)

title('Using fvtool');

figure;

zplane(r,p)

title('Using zplane');

Kindly revert for any queries

Thanks.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
We have a plane wave (632.8 nm) that is travelling along the z-direction. We also have...
We have a plane wave (632.8 nm) that is travelling along the z-direction. We also have a plane wave that is travelling at an angle θ relative to the z-axis. For angles θ=π/6,θ=π/4 and θ=0, using Matlab, plot the combined wave (for a fixed time) and the intensity of the combined wave.
Determine the stability region using the Jury criterion for a system whose characteristic equation P(z). Plot...
Determine the stability region using the Jury criterion for a system whose characteristic equation P(z). Plot the stability region on a plane determined by a-k. P(z)=z^4+kz^3+2z^2+az+3=0
A coin of diameter 1/2 is tossed randomly onto the plane R^2.Find the probability p that...
A coin of diameter 1/2 is tossed randomly onto the plane R^2.Find the probability p that the coin does not intersect any line of the form:a)x=k, where k is an integer, b)x+y=k, where k is an integer.
For each of the random quantities X,Y, and Z, defined below (a) Plot the probability mass...
For each of the random quantities X,Y, and Z, defined below (a) Plot the probability mass function PMS (in the discrete case) , or the probability density function PDF (in the continuous case) (b) Calculate and plot the cumulative distribution function CDF (c) Calculate the mean and variance, and the moment function m(n), and plot the latter. The random quantities are as follows: X is a discrete r.q. taking values k=0,1,2,3,... with probabilities p(1-p)^k, where p is a parameter with...
Consider the graph of the function z=2x-3y+c in a plane. In case of c=4, find three...
Consider the graph of the function z=2x-3y+c in a plane. In case of c=4, find three distinct points P, Q, R such that the vector Q-P is not a scalar multiple of R-P.
In your design, please explicitly describe the transfer function, the bode plot, and the value of...
In your design, please explicitly describe the transfer function, the bode plot, and the value of passive components obtained while designing the filter according to the given specification. Use Multisim for the circuit design as well as frequency response analysis, and compare the output (Bode plots) with the simulation that can be obtained from MATLAB. Validate your answer using MATLAB. Design a bandpass active filter to pass frequencies between 500 Hz and 1500 Hz, and with K= 20
(a) Generate the following discrete functions using MATLAB. Plot the two functions on the same page...
(a) Generate the following discrete functions using MATLAB. Plot the two functions on the same page using MATLAB stem function. For x2[k] plot the real and imaginary parts separately. Therefore, a total of three plots will be plotted on one page. (i) x1[k]= -5.1sin((0.1*pi*k)-3*pi/4)+1.1cos(0.4*pi*k) such that k belongs in[-10,40] (ii)x2[k]= ((-0.9)^k)*exp(i*pi*k/10) such that k belongs in[0,100] (b) Are x1[k] and x2[k] periodic sequences. If so, what are their periods? Mark them on the plots. (c) Calculate the total energy of...
A firm produces output (y), using capital (K) and labor (L). The per-unit price of capital...
A firm produces output (y), using capital (K) and labor (L). The per-unit price of capital is r, and the per-unit price of labor is w. The firm’s production function is given by, y=Af(L,K), where A > 0 is a parameter reflecting the firm’s efficiency. (a) Let p denote the price of output. In the short run, the level of capital is fixed at K. Assume that the marginal product of labor is diminishing. Using comparative statics analysis, show that...
When plotted in the complex plane for , the function f () = cos() + j0.1...
When plotted in the complex plane for , the function f () = cos() + j0.1 sin(2) results in a so-called Lissajous figure that resembles a two-bladed propeller. a. In MATLAB, create two row vectors fr and fi corresponding to the real and imaginary portions of f (), respectively, over a suitable number N samples of . Plot the real portion against the imaginary portion and verify the figure resembles a propeller. b. Let complex constant w = x +...
How can I write a function in MATLAB with an input of array1 and an output...
How can I write a function in MATLAB with an input of array1 and an output of maxValue (being the highest value in array 1) without calling the built in function in MATLAB. I ned to use a loop to accomplish this.