summaryrefslogtreecommitdiff
path: root/macros/rc2is.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/rc2is.sci')
-rw-r--r--macros/rc2is.sci1
1 files changed, 1 insertions, 0 deletions
diff --git a/macros/rc2is.sci b/macros/rc2is.sci
index a41a79e..de0a29c 100644
--- a/macros/rc2is.sci
+++ b/macros/rc2is.sci
@@ -29,6 +29,7 @@ function isin = rc2is(k)
// J.R. Deller, J.G. Proakis, J.H.L. Hansen, "Discrete-Time Processing of Speech Signals", Prentice Hall, Section 7.4.5
//modified function to handle char i/p and also changed error statements to match those of MATLAB by Debdeep Dey
//convert char i/p to their respective ascii values
+
if(type(k)==10) then
w=k;
k=ascii(k);