Open tanchinluh opened 9 months ago
Hi,
I'd like to report that I found bugs in the " case 'log' " part in fspecial.sci.
case 'log' wrong: x2 = ones(siz(1),1) ([-sizx:sizx]^2); y2 = ([-sizy:sizy]^2)' ones(1, siz(2)); correct: x2 = ones(siz(1),1) ([-sizx:sizx].^2); y2 = ([-sizy:sizy].^2)' ones(1, siz(2));
I checked the difference between "case 'gaussian' " part and "case 'log' " part. So, two "."(s) disappeared in the "case 'log' " part. These are what I found.
Y. Kawakami
Hi,
I'd like to report that I found bugs in the " case 'log' " part in fspecial.sci.
case 'log' wrong: x2 = ones(siz(1),1) ([-sizx:sizx]^2); y2 = ([-sizy:sizy]^2)' ones(1, siz(2)); correct: x2 = ones(siz(1),1) ([-sizx:sizx].^2); y2 = ([-sizy:sizy].^2)' ones(1, siz(2));
I checked the difference between "case 'gaussian' " part and "case 'log' " part. So, two "."(s) disappeared in the "case 'log' " part. These are what I found.
Y. Kawakami