Filter command in matlab with only input system
조회 수: 6 (최근 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!