File:FFT size vs filter length for Overlap-add convolution.svg
Summary
Description |
English: A graph of the values of N (an integer power of 2) that minimize the cost function from articles Overlap-add method and Overlap-save method |
|||
Date | ||||
Source | Own work | |||
Author | Bob K | |||
Permission (Reusing this file) |
I, the copyright holder of this work, hereby publish it under the following license:
|
|||
SVG development | ||||
Gnu Octave source | click to expand
This graphic was created by the following Octave script: graphics_toolkit gnuplot
Nvals = [];
x = 17:1000;
for M = x
m = floor(log2(4*M));
k = m:(m+4);
N = 2.^k;
c = N.*(k+1)./(N-M+1);
[minval,idx] = min(c);
kmin = idx-1+m;
Nvals(end+1) = 2^kmin;
end
semilogy(x, Nvals, ".", "markersize", 3);
set(gca, "ytick",[128 256 512 1024 2048 4096 8192])
set(gca, "yticklabel",[128 256 512 1024 2048 4096 8192])
set(gca, "xtick",[0 100 200 300 400 500 600 700 800 900 1000])
grid on
ylabel("Optimum FFT size (N)", "fontsize",10)
xlabel('\leftarrow Filter length (M) \rightarrow', "fontsize",10)
title({"FFT size vs filter length for";"Overlap-add and Overlap-save convolution"}, "fontsize",12);
print -dsvg FFT_size_vs_filter_length_for_Overlap-add_convolution.svg
|
Category:CC-Zero
Category:Created with GNU Octave
Category:Digital signal processing
Category:Images with Gnuplot source code
Category:Images with Octave source code
Category:Overlap-save method
Category:Overlap add
Category:Pages using deprecated source tags
Category:Self-published work
Category:Valid SVG created with Octave