필터 지우기
필터 지우기

How to write the matlab codes for the following transfer function

조회 수: 2 (최근 30일)
phoenix
phoenix 2018년 8월 3일
편집: Star Strider 2018년 8월 3일
T(z)=(5-G(z)*z^-5)/(1-5*G(z)*z^-5);
where G(z) is a separate transfer function in Z domain.

답변 (1개)

Aquatris
Aquatris 2018년 8월 3일
편집: Aquatris 2018년 8월 3일
Assuming G(z) is a SISO(single input-single output) system, here is the code;
z = tf('z');
G = z/(z+1);
T = minreal(5-G*z^-5)/(1-5*G*z^-5);
You need to specify the sample time of the system by simply modifying the code;
z = tf('z',dt)

카테고리

Help CenterFile Exchange에서 State-Space Control Design and Estimation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by