Comparison of smoothing and plotting:
Matlab on 3GHz 64bit Windows 10 vs Octave 3.6 on Raspberry Pi 3.
Test code:
Smooth a 10000-point vector with a 500-point Gaussian smooth
disp('Smooth:');
x=1:10000;
y=randn(size(x));
tic;
smoothedy=fastsmooth(y,500,3,0);
toc;
disp('Plot:');
tic;
plot(x,y,x,smoothedy);
toc
Results:
Matlab on 3GHz 64 bit Windows 10
Smooth:
Elapsed time is 0.001 seconds.
Plot:
Elapsed time is 0.005 seconds.
Octave 3.6 on Raspberry Pi 3.
Smooth:
Elapsed time is 2.5 seconds.
Plot:
Elapsed time is 0.16 seconds.