A Faster Convolutional 1D Operator
We have implemented a faster 1D convolutional operator. It is extremely fast for VERY large input arrays with comparable dimensions.
If the dimensions of the two vectors are quite different the best way to work is to compare execution times (in general the speed improvement depends by their sizes).
For smaller input vectors MATLAB implementation results more efficient.
Example
a=floor(10000*rand(200000,1));
b=floor(10000*rand(200000,1));
Matlab conv(a,b) -----> requires 1616 secs.
Our mcgo_conv(a,b) -->requires 639 secs.
Zitieren als
Luigi Rosa (2024). A Faster Convolutional 1D Operator (https://www.mathworks.com/matlabcentral/fileexchange/4056-a-faster-convolutional-1d-operator), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Mathematics > Elementary Math >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
mcgo_conv/
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0.0 | A faster implementation optimizing memory management. |