help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: test this in matlab for my please


From: Ozzy Lash
Subject: Re: test this in matlab for my please
Date: Thu, 14 Jul 2016 13:56:08 -0500




Now Matlabe gives

ans =
 
  0.1 z
  -----          This is wrong!!!
  z - 1
 

which has the zero at the origin but has a gain of 1/10th of what it should!
Matlab the does a correction factor of 1/T when they plot it so that it comes out correct,
but this does not help anyone who just wants the formula not the plot.




I think Matlab uses this convention for the impulse response because they are using the dirac delta function in the continous domain and the kronecker delta in the discrete time domain.  The dirac delta has area 1 under the curve, while the kronecker delta has an area of 1/fs under the curve (assuming a zero order hold, and defining the kronecker delta to have value 1 at index 0). 

I think I have seen books teach this either the way Matlab is doing it, or by assuming a fs scale factor on the delta function that they use.  I think in either case, once you get past the early chapters, you just forget about any scale factor.

Bill

reply via email to

[Prev in Thread] Current Thread [Next in Thread]