Prev: FTDNN
Next: 3D Matrix Multiplication
From: astro mmi on 8 Dec 2009 13:02 Hello everyone, Suppose I have the numerator and denominator coefficients of the transfer function H(z)=Y(z)/X(z).Using which MATLAB can I get the poles and zeros of this transfer fn? Also,How can I plot the step function in MATLAB? Thirdly,if I want to implement an eqn of the form (sin(n*pi*cutoff1)-sin(n*pi*cutoff2))/n*pi for n=-15 to 15 how can I do it in MATLAB? Thanx in advance.
From: Wayne King on 8 Dec 2009 14:14 "astro mmi" <pyarsa_madhu(a)yahoo.co.in> wrote in message <hfm4ba$q5p$1(a)fred.mathworks.com>... > Hello everyone, > Suppose I have the numerator and denominator coefficients of the transfer function H(z)=Y(z)/X(z).Using which MATLAB can I get the poles and zeros of this transfer fn? > > Also,How can I plot the step function in MATLAB? > > Thirdly,if I want to implement an eqn of the form > (sin(n*pi*cutoff1)-sin(n*pi*cutoff2))/n*pi for n=-15 to 15 how can I do it in MATLAB? > > Thanx in advance. See >>doc tf2zp and >>doc tf2zpk For the step function, you can convert your numerator and denominator coefficients into a dfilt object and call step on the dfilt object [B,A] = butter(10,[0.25 0.5]); Hd = dfilt.df2(B,A); %I just picked a direct form II structure step(Hd) Hope that helps, Wayne
|
Pages: 1 Prev: FTDNN Next: 3D Matrix Multiplication |