Linear filter for echo effect
Mostra commenti meno recenti
Hello all!
A discrete-time causal filter is described by the following difference equation.

A simple linear filter for simulation of echo-effect can be described by the following equation
How can I represent the above equation in code?
% I'm not sure about that
syms x(n) y(n)
eq = y(n) == c*x(n)+(1-c)*x(n-P)
Can I use syms function for n x and y.
P and c are known
Also I want to transform from difference equation to tranfer function. Can I use the function ztrans() for that?
Thanks in advance
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Audio Processing Algorithm Design in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!