Mercurial > hg > ishara
diff general/funutils/@function_handle/private/acount.m @ 42:ae596261e75f
Various fixes and development to audio handling
author | samer |
---|---|
date | Tue, 02 Dec 2014 14:51:13 +0000 |
parents | 9d24b616bb06 |
children |
line wrap: on
line diff
--- a/general/funutils/@function_handle/private/acount.m Tue Jan 29 17:22:52 2013 +0000 +++ b/general/funutils/@function_handle/private/acount.m Tue Dec 02 14:51:13 2014 +0000 @@ -1,1 +1,3 @@ -function n=acount(m,k), if m<0 || m>k, n=k+1; else n=m; end; end +function n=acount(m,k,j), + if nargin<3, j=0; end + if m<j || m>k, n=k+1; else n=m; end; end