diff options
Diffstat (limited to 'macros/midcross.sci')
-rw-r--r-- | macros/midcross.sci | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/macros/midcross.sci b/macros/midcross.sci index 6d174ef..50209d7 100644 --- a/macros/midcross.sci +++ b/macros/midcross.sci @@ -1,6 +1,4 @@ function [midcrossvalue, midreference, levels, t, tolerance, Tinput]= midcross(x, varargin)
-
-
// This function estimate midcross values of real vector X.
// Calling Sequence
// midcrossvalue=midcross(x)
@@ -31,7 +29,6 @@ function [midcrossvalue, midreference, levels, t, tolerance, Tinput]= midcross(x // t: return the instant sample time.
// tolerance: retunr the tolerance value
// Tinput: return t value, which given as input parameter.
-
// Examples
// x=[1.2, 5, 10, -20, 12]
//t=1:length(x)
@@ -39,6 +36,7 @@ function [midcrossvalue, midreference, levels, t, tolerance, Tinput]= midcross(x // See also
// Authors
// Jitendra Singh
+
if or(type(x)==10) then
error ('Input arguments must be double.')
end
|