octave-maintainers
[Top][All Lists]
Advanced

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

xcorr2 (signal package)


From: Benjamin Eltzner
Subject: xcorr2 (signal package)
Date: Wed, 05 Feb 2014 20:56:24 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Icedove/24.2.0

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Octave maintainers,

when I recently had to use cross correlations in a project, I found
that the xcorr2 function (especially using the "coeff" option) in the
signal package of Octave does not yield correct results and
implemented it quick and dirty myself. My code yields the same result
as the matlab function.

Referring to this state of the source:

http://sourceforge.net/p/octave/signal/ci/0e2141a26533942734b0d8e1a096eb4d5213fd9d/tree/inst/xcorr2.m

the lines 69-71 and 94-98 would need to be replaced. (I highlight this
in the source appended to this mail.)

I don't have the time to understand your bug tracking system, but I
would love to help you fix this function (which is very important in
scientific computing). I would therefore be glad, if you forwarded my
code to whom it may concern although I do not follow protocol.


Cheers,

Benjamin

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQIcBAEBAgAGBQJS8pdoAAoJEK27BRz67lmp5AwP/2knAJULnfZRc/FLJr5sWFt7
hEZatspj67sm1dip+9PO3FIMSYpn04c4oseXPgccIlh9Z28kAOGfGD26O7nLi4c5
dID++d1WCJ2hSfShwD/h5Ggykp6XTCry95IPQoA6J10v3CWWYZuTSblV2LHHo1Dn
7rGrr/mYakcXAQgLM0kDZBy9UX1bOWX06hhty9ind/YrrPCXBIa7nvVx8ZnFgFef
pLEKNyLcayNd7w02W6Tpjxwuliq3V8bUnI3ytRylgg/utXImACKQ4MwHdxL0fqBk
n3PFDePH0VzZjQQLEKliIQQBtLbdBVb8NrBBBd8OUfB2Be8lVo1tRywwKXQb1tUh
Qak0ypQmvoMgHCBpD0KeT8TXQ6hAaHadiPoMhFRrCj9Wp09U4yWoPlQbnCeK/o/E
1Jo2jPT8BA4gpkTHuicqNQ/CCG27qsle1QOdX/d8LUc/A5aP4mIyQ9pVM3l9a8Na
uG7hwrHoEwgsyU0d2THd9/5rix3Na+DXLpKBT6gYh9lYv3hzjLySIYs7xppTGoJ0
Gf0WKqgWpWmjBhGe+rtz/WPCqiGb5ONKOSQTYzDOvLmkeP1OmJ6YsOCj3K2hW6zF
JKDZ1eoDuIs5oHmsQGBdeSpALmeBl0SbFOM8zIQIkjZQKerrXtyNOAsrrTiszXkw
YOEQ0dOiGaS3asSSkQMi
=7EgP
-----END PGP SIGNATURE-----

Attachment: normxcorr2alt.m
Description: Text document


reply via email to

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