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?
, is there a way to show this equation on the command line in Matlab just like what the tf() does?답변 (1개)
fprintf('y(n) = 0.25\n')
fprintf('y(n-2) = 2*x(n)+0.5*x(n-2)\n')
카테고리
도움말 센터 및 File Exchange에서 Dynamic System Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!