summaryrefslogtreecommitdiff
path: root/macros/rms.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/rms.sci')
-rw-r--r--macros/rms.sci3
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/rms.sci b/macros/rms.sci
index 39abd44..b9f45d9 100644
--- a/macros/rms.sci
+++ b/macros/rms.sci
@@ -1,3 +1,5 @@
+
+function y = rms(x, dim)
//Root mean squared value \
//Y=rms(X);
//Y=rms(X,dim);
@@ -11,7 +13,6 @@
// RMS(ABS(X)).
//Author Debdeep Dey
-function y = rms(x, dim)
//convert i/p values to their ascii values if they are of type char
if(type(x)==10) then
xa=x;