kirazercan
Mechanical
- Oct 17, 2009
- 1
I have two questions about the function "dimpulse".
1) Is there anyone who know how can we use the coefficients of z^-1 instead of z in discerete impulse function dimpulse? You know, it works like dimpulse(num,den); where num and den are numerator and denominator coefficient matrices of discerete time funtion in z. But I need to enter the coefficients of the powers of z^-1. For example, my TF is (z^-1)/(1-z^-2). I want to enter num=[1 0] end den=[-1 0 1], but I can't because it assumes the coefficients belongs to the powers of z. Actually, my TF is much more complex than this one and so I can not transform it to positive powers of z.
2)How can we change the sampling time of dimplulse function. It is 1 sec but I need 0.01 sec. If there is anyone who can help, please don't leave me alone here
1) Is there anyone who know how can we use the coefficients of z^-1 instead of z in discerete impulse function dimpulse? You know, it works like dimpulse(num,den); where num and den are numerator and denominator coefficient matrices of discerete time funtion in z. But I need to enter the coefficients of the powers of z^-1. For example, my TF is (z^-1)/(1-z^-2). I want to enter num=[1 0] end den=[-1 0 1], but I can't because it assumes the coefficients belongs to the powers of z. Actually, my TF is much more complex than this one and so I can not transform it to positive powers of z.
2)How can we change the sampling time of dimplulse function. It is 1 sec but I need 0.01 sec. If there is anyone who can help, please don't leave me alone here