Filter command in matlab with only input system

5 Ansichten (letzte 30 Tage)
Jorge Montane
Jorge Montane am 24 Feb. 2018
Beantwortet: Birdman am 26 Feb. 2018
By using only this input, z(n); how could I calculate the output by using filter command in matlab.

Akzeptierte Antwort

Birdman
Birdman am 26 Feb. 2018
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))

Weitere Antworten (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by