Hi all,
In fftconv2.m in the image package, this is what line 47 currently looks like (in the latest version downloaded from sourceforge):
if ((nargin > 2) && ismatrix(varargin{3}))
Since octave returns 1 for, say, ismatrix("same"), it doesn't recognize fftconv2(a,b,shape) properly. It thus returns errors for me. However, if I also add a isnumeric(varargin{3}) check, it works fine. This is what the corrected line looks like:
if ((nargin > 2) && ismatrix(varargin{3}) && isnumeric(varargin{3}))
Thanks for your attention.