diff dsp/dftbins.m @ 32:c3b0cd708782

Imported core dsp tools.
author samer
date Sun, 20 Jan 2013 13:48:47 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/dsp/dftbins.m	Sun Jan 20 13:48:47 2013 +0000
@@ -0,0 +1,4 @@
+% dftbins - Returns number of bins to retain for real DFT of length N
+%
+% dftbins :: natural -> natural.
+function M=dftbins(N), M=1+floor(N/2);