|
From: | Leonardo |
Subject: | [Octave-patch-tracker] [patch #9570] [octave forge] (signal) new function cconv: modulo-N circular convolution |
Date: | Mon, 12 Mar 2018 14:20:22 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
Follow-up Comment #5, patch #9570 (project octave): The previous post was indeed using matrix method. The FOR loop was performing the matrix method... as suggested, now it is using iFFT and FFT. The first IF just add zeros for different length vectors. The second IF fold the vectors into themselves in case the N (modulo) is smaller than the vector lengths, or add zeros if necessary. (file #43530) _______________________________________________________ Additional Item Attachment: File name: cconv.m Size:3 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/patch/?9570> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |