Skip to content

Commit 47a8263

Browse files
committed
Fix convolution() for Octave
1 parent 1854579 commit 47a8263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SFS_general/convolution.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
Z = bsxfun(@times,fft(x,N,1),fft(y,N,1)); % automatically adjusts sizes
7070
% IFFT
7171
if isreal(x) && isreal(y)
72-
z = ifft(Z,[],1,'symmetric');
72+
z = real(ifft(Z,[],1));
7373
else
7474
z = ifft(Z,[],1);
7575
end

0 commit comments

Comments
 (0)