diff options
Diffstat (limited to 'macros/pulseperiod.sci')
-rw-r--r-- | macros/pulseperiod.sci | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/macros/pulseperiod.sci b/macros/pulseperiod.sci index c2b8473..d4496cc 100644 --- a/macros/pulseperiod.sci +++ b/macros/pulseperiod.sci @@ -1,7 +1,5 @@ function [p, initialcross, finalcross, nextcross, midreference]= pulseperiod(x, varargin) - // This function estimate pulse period of real vector X. - // Calling Sequence // p=pulseperiod(x) // p=pulseperiod(x, Fs) @@ -33,20 +31,16 @@ function [p, initialcross, finalcross, nextcross, midreference]= pulseperiod(x, // finalcross: returns a vector of final cross values of bilevel waveform transitions X // nextcross: returns a vector of next cross values of bilevel waveform transitions X // midreference: return mid reference value corrosponding to mid percent reference value. - // Examples //x = fscanfMat("macros/pulsedata_x.txt"); //t = fscanfMat("macros/pulsedata_t.txt"); //clf //p = pulseperiod(x,t,'fig','ON') - //Output // p = // // 0.5002996 //also it generates a pulse plot with pulse period - - // See also // Authors // Jitendra Singh |