help-octave
[Top][All Lists]
Advanced

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

Using sftrans as matlab's lp2lp


From: texidor
Subject: Using sftrans as matlab's lp2lp
Date: Tue, 10 Nov 2015 19:32:25 -0800 (PST)

Hi,
I have been porting some code but I can not have equal results to moving
lowpass' filter cuting frequency using the sftrans and lp2lp.

numNorm =
         0         0         0    1.0000
denNorm =
    1.0000    2.0000    2.0000    1.0000
fc=180

Matlab code uses:
[num,den]=lp2lp(numNorm,denNorm,2*pi*fc);
and returns:
num =
   1.4466e+09
den =
   1.0e+09 *
    0.0000    0.0000    0.0026    1.4466

The octaves function have been seted:
[num,den,sg]=sftrans(numNorm,denNorm,1,2*pi*fc,0);

returns:
num =  1131.0
den =
   1131.0   2261.9   2261.9   1131.0

sg =   1.4466e+009


Thanks in advance.




--
View this message in context: 
http://octave.1599824.n4.nabble.com/Using-sftrans-as-matlab-s-lp2lp-tp4673435.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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