Can I control filter command?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Mohamed Salah
am 30 Mai 2020
Kommentiert: Mohamed Salah
am 30 Mai 2020
Assuming I have a function an equation like
y[n]=x[n]-y[n-1] with the condition that y[n]=0 if n<0
can I implement and solve this using filter command? or should I solve it in another way?
0 Kommentare
Akzeptierte Antwort
per isakson
am 30 Mai 2020
Bearbeitet: per isakson
am 30 Mai 2020
Yes, filter() is possible. Try
y = filter( 1, [1,1], x );
Weitere Antworten (0)
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!