How to show difference equation on the command line?

For example, given , is there a way to show this equation on the command line in Matlab just like what the tf() does?

답변 (1개)

KSSV
KSSV 2021년 9월 21일
fprintf('y(n) = 0.25\n')
y(n) = 0.25
fprintf('y(n-2) = 2*x(n)+0.5*x(n-2)\n')
y(n-2) = 2*x(n)+0.5*x(n-2)

카테고리

도움말 센터File Exchange에서 Dynamic System Models에 대해 자세히 알아보기

제품

릴리스

R2020b

질문:

2021년 9월 21일

답변:

2021년 9월 21일

Community Treasure Hunt

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

Start Hunting!

Translated by