summaryrefslogtreecommitdiff
path: root/macros/peak2rms.sci
diff options
context:
space:
mode:
Diffstat (limited to 'macros/peak2rms.sci')
-rw-r--r--macros/peak2rms.sci3
1 files changed, 2 insertions, 1 deletions
diff --git a/macros/peak2rms.sci b/macros/peak2rms.sci
index 8b61024..862ddd5 100644
--- a/macros/peak2rms.sci
+++ b/macros/peak2rms.sci
@@ -41,7 +41,6 @@ function out = peak2rms(in,orientation)
//OUT= 1.4638501
//1.3887301
//1.119186
-
//
//Examples
//To calculate peak magnitude to RMS value of sinusoid:
@@ -69,6 +68,8 @@ function out = peak2rms(in,orientation)
//And for calculates the values of ratio of peak to RMS of rows of matrix. use peak2rms(in,2)
//Updated help comments accordingly
//MOdifications done by by Debdeep Dey
+
+
//if(type(in)=10) then //condition checking error,for equality it is '=='
if(type(in)==10)
in=ascii(in);