comparison scripts/audio/mu2lin.m @ 3456:434790acb067

[project @ 2000-01-19 06:58:51 by jwe]
author jwe
date Wed, 19 Jan 2000 06:59:23 +0000
parents ae7adbb591e8
children 8389e78e67d4
comparison
equal deleted inserted replaced
3455:f758be6e1730 3456:434790acb067
37 elseif (nargin == 2) 37 elseif (nargin == 2)
38 if (bit != 8 && bit != 16) 38 if (bit != 8 && bit != 16)
39 error ("mu2lin: bit must be either 8 or 16"); 39 error ("mu2lin: bit must be either 8 or 16");
40 endif 40 endif
41 else 41 else
42 usage ("y = mu2lin (x [, bit])"); 42 usage ("y = mu2lin (x, bit)");
43 endif 43 endif
44 44
45 if (! is_vector (x)) 45 if (! is_vector (x))
46 error ("mu2lin: x must be a vector"); 46 error ("mu2lin: x must be a vector");
47 endif 47 endif