Can I control filter command?
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
per isakson
2020 年 5 月 30 日
編集済み: per isakson
2020 年 5 月 30 日
Yes, filter() is possible. Try
y = filter( 1, [1,1], x );
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Mathematics and Optimization についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!