Borrar filtros
Borrar filtros

How to show difference equation on the command line?

1 visualización (últimos 30 días)
William
William el 21 de Sept. de 2021
Respondida: KSSV el 21 de Sept. de 2021
For example, given , is there a way to show this equation on the command line in Matlab just like what the tf() does?

Respuestas (1)

KSSV
KSSV el 21 de Sept. de 2021
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)

Categorías

Más información sobre Spectral Measurements en Help Center y File Exchange.

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by