Zero padding in Matlab
4 answers
There is a function upsample
that does exactly that from Octave-Forge - see the docs at upsample .
Or you can look at the sourceupsample
to see what implements it. Are you against using a package or feature?
+1
source to share