Author Topic: dimpulse function stting  (Read 574 times)

Offline ercan

  • Newbie
  • *
  • Posts: 1
  • Matlab Forum
    • View Profile
dimpulse function stting
« on: October 17, 2009, 05:44:45 PM »
I have two questions about the function "dimpluse".
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 :(

Matlab and SimuLink Development Forum

dimpulse function stting
« on: October 17, 2009, 05:44:45 PM »