Mercurial > hg > octave-nkf
comparison scripts/signal/hamming.m @ 3449:858695b3ed62
[project @ 2000-01-18 04:08:59 by jwe]
author | jwe |
---|---|
date | Tue, 18 Jan 2000 04:09:14 +0000 |
parents | f8dde1807dee |
children | e031284eea27 |
comparison
equal
deleted
inserted
replaced
3448:0fb75d95b14f | 3449:858695b3ed62 |
---|---|
12 ## | 12 ## |
13 ## You should have received a copy of the GNU General Public License | 13 ## You should have received a copy of the GNU General Public License |
14 ## along with this file. If not, write to the Free Software Foundation, | 14 ## along with this file. If not, write to the Free Software Foundation, |
15 ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 15 ## 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
16 | 16 |
17 ## usage: hamming (m) | 17 ## -*- texinfo -*- |
18 ## | 18 ## @deftypefn {Function File} {} hamming (@var{m}) |
19 ## Returns the filter coefficients of a Hamming window of length m. | 19 ## Return the filter coefficients of a Hamming window of length @var{m}. |
20 ## | 20 ## |
21 ## For a definition of the Hamming window, see e.g. A. V. Oppenheim & | 21 ## For a definition of the Hamming window, see e.g. A. V. Oppenheim & |
22 ## R. W. Schafer, "Discrete-Time Signal Processing". | 22 ## R. W. Schafer, "Discrete-Time Signal Processing". |
23 ## @end deftypefn | |
23 | 24 |
24 ## Author: AW <Andreas.Weingessel@ci.tuwien.ac.at> | 25 ## Author: AW <Andreas.Weingessel@ci.tuwien.ac.at> |
25 ## Description: Coefficients of the Hamming window | 26 ## Description: Coefficients of the Hamming window |
26 | 27 |
27 function c = hamming (m) | 28 function c = hamming (m) |