필터 지우기
필터 지우기

How to show difference equation on the command line?

조회 수: 1 (최근 30일)
William
William 2021년 9월 21일
답변: KSSV 2021년 9월 21일
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)

카테고리

Help CenterFile Exchange에서 Spectral Measurements에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by