Problem using variable='z^-1' in Z transform with Z^-1 format

조회 수: 4 (최근 30일)
Ahmad
Ahmad 2022년 9월 30일
답변: Walter Roberson 2022년 9월 30일
Hi Dears ,
What is the difference between one step and two step to define the 'variable'='z^-1'?
I want Z transform function 1/z^3 in term of z^-1 and the two step is ok not one step.
See the Matlab doc for tf, section: "Specify Polynomial Ordering in Discrete-Time Transfer Function"
num=[1];
den=[1 0 0 0];
% Two step is OK!
X1=tf(num,den,0.1)
X1.Variable='z^-1'
% One step is not OK!
X2=tf(num,den,0.1,'variable','z^-1')
X1 not equal X2
Many thanks to dear @Paul

답변 (1개)

Walter Roberson
Walter Roberson 2022년 9월 30일
Setting the Variable property afterwards just changes the Variable property, without reinterpretting the matrices. It is not a conversion operation, it is just rewriting the label.

카테고리

Help CenterFile Exchange에서 Environment and Clutter에 대해 자세히 알아보기

제품

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by