【 MATLAB 】zplane 函数介绍(离散时间系统的零极图)

版权声明:本博客内容来自于个人学习过程中的总结,参考了互联网、数据手册、帮助文档、书本以及论文等上的内容,仅供学习交流使用,如有侵权,请联系,我会重写!转载请注明地址! https://blog.csdn.net/Reborn_Lee/article/details/83449300

zplane

Zero-pole plot for discrete-time systems

Syntax


zplane(b,a)

zplane(b,a), where b and a are row vectors, first uses roots to find the zeros and poles of the transfer function represented by the numerator coefficients b and the denominator coefficients a.

zplane(b,a),其中b和a是行向量,首先使用根来找到由分子系数b和分母系数a表示的传递函数的零和极点。

ba — Transfer function coefficients
row vectors

Transfer function coefficients, specified as row vectors. The transfer function is defined in terms of z^–1:

例子:

已知一因果系统差分方程:

y(n) = 0.9 y(n - 1) + x(n);

使用zplane函数画出零极点图:

题解:有差分方程即可看出传递函数的分子和分母系数,之后应用zplane函数即可画出零极点图:

clc;clear;close all;

b = [1,0];
a = [1,-0.9];

zplane(b,a);


暂时只用到了上面的,下面的语法用到了再查。

zplane(z,p)

[hz,hp,ht] = zplane(___)

zplane(d)

[vz,vp,vk] = zplane(d)

Description

zplane(z,p) plots the zeros specified in column vector z and the poles specified in column vector p in the current figure window. The symbol 'o' represents a zero and the symbol 'x'represents a pole. The plot includes the unit circle for reference.

If z and p are matrices, then zplane plots the poles and zeros in the columns of z and p in different colors.

[hz,hp,ht] = zplane(___) returns vectors of handles to the zero lines, hz, and the pole lines, hpht is a vector of handles to the axes/unit circle line and to text objects, which are present when there are multiple zeros or poles.

zplane(d) finds the zeros and poles of the transfer function represented by the digital filter, d. Use designfilt to generate d based on frequency-response specifications. The pole-zero plot is displayed in fvtool.

[vz,vp,vk] = zplane(d) returns the zeros (vector vz), poles (vector vp), and gain (scalar vk) corresponding to the digital filter d.

猜你喜欢

转载自blog.csdn.net/Reborn_Lee/article/details/83449300
今日推荐