[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
xcorr
From: |
Thomas Hoffmann |
Subject: |
xcorr |
Date: |
Mon, 24 Nov 1997 13:45:05 +0100 (MET) |
Maybe this belongs to the bugs list or not to an Octave ("kernel") list at all:
The contributed script xcorr.m (in a subdir "imagep") can only process vectors,
when
given to it two non-string parameters. For that it checks
if (is_matrix(x) || is_matrix(y))
error("Only vectors are supported, use xcorr2 for matrix correlation");
end
Shouldn't that read "!is_vector(x)" instead of "is_matrix(x)", simply because a
vector is a (special) matrix, too?
Th. Hoffmann
- xcorr,
Thomas Hoffmann <=
- xcorr, John W. Eaton, 1997/11/24