diff options
Diffstat (limited to 'macros/lar2rc.sci')
-rw-r--r-- | macros/lar2rc.sci | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/macros/lar2rc.sci b/macros/lar2rc.sci index 6a41b36..f05e7e0 100644 --- a/macros/lar2rc.sci +++ b/macros/lar2rc.sci @@ -1,16 +1,13 @@ function k=lar2rc(g) - //lar2rc convert log area ratios to reflection coefficients. // Calling Sequence // k = lar2rc(g) // Parameters // g: define log area ratios. // k: returns the reflection coefficients. - // Example //g = [0.6389 4.5989 0.0063 0.0163 -0.0163]; //k = lar2rc(g) - // Output : //k = // @@ -22,14 +19,13 @@ function k=lar2rc(g) // column 5 // // - 0.0081498 - - // See also // // Author // Jitendra Singh // //Modified to match MATLAB o/p when i/p is of type char and is a string by Debdeep Dey + if or(type(g)==10) then [r,c]=size(g); if r==1 & c==1 then |