From help-octave-request at bevo dot che dot wisc dot edu Mon Nov 24 06:46:09 1997 Subject: xcorr From: Thomas Hoffmann To: help-octave at bevo dot che dot wisc dot edu 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