Filter command in matlab with only input system
5 ビュー (過去 30 日間)
古いコメントを表示

By using only this input, z(n); how could I calculate the output by using filter command in matlab.
0 件のコメント
採用された回答
Birdman
2018 年 2 月 26 日
Why don't you define this function with piecewise command very easily?
syms z(n)
z(n)=piecewise(n>=1 & n<=5,n,n<1 | n>5,0);
and plot it to see the results.
t=0:0.01:7;
plot(t,z(t))
0 件のコメント
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!