summaryrefslogtreecommitdiff
path: root/help/en_US/scilab_en_US_help/falltime.html
blob: be537cdc31f91d56d580e52fe6d1ba7f68472f8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>falltime</title>
    <style type="text/css" media="all">
      @import url("scilab_code.css");
      @import url("xml_code.css");
      @import url("c_code.css");
      @import url("style.css");
    </style>
  </head>
  <body>
    <div class="manualnavbar">
    <table width="100%"><tr>
      <td width="30%">
    	<span class="previous"><a href="eqtflength.html">&lt;&lt; eqtflength</a></span>

      </td>
      <td width="40%" class="center">
      	<span class="top"><a href="section_cc2bc01c47967d47fcf3507a91d572ba.html">FOSSEE Signal Processing Toolbox</a></span>

      </td>
      <td width="30%" class="next">
      	<span class="next"><a href="fftfilt.html">fftfilt &gt;&gt;</a></span>

      </td>
    </tr></table>
      <hr />
    </div>



    <span class="path"><a href="index.html">FOSSEE Signal Processing Toolbox</a> &gt;&gt; <a href="section_cc2bc01c47967d47fcf3507a91d572ba.html">FOSSEE Signal Processing Toolbox</a> &gt; falltime</span>

    <br /><br />
    <div class="refnamediv"><h1 class="refname">falltime</h1>
    <p class="refpurpose"></p></div>


<div class="refsynopsisdiv"><h3 class="title">Calling Sequence</h3>
   <div class="synopsis"><pre><span class="default">r</span><span class="default">=</span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">)</span>
<span class="default">r</span><span class="default">=</span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">, </span><span class="default">t</span><span class="default">)</span>
<span class="default">r</span><span class="default">=</span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">, </span><span class="default">Fs</span><span class="default">)</span>
<span class="default">r</span><span class="default">=</span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">, </span><span class="default">t</span><span class="default">, </span>&#0039;<span class="default">PercentReferenceLevels</span>&#0039;<span class="default">, </span><span class="default">N</span><span class="default"> )</span>
<span class="default">r</span><span class="default">=</span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">, </span><span class="default">t</span><span class="default">, </span>&#0039;<span class="default">Tolerance</span>&#0039;<span class="default">, </span><span class="default">M</span><span class="default">)</span>
<span class="default">r</span><span class="default">=</span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">, </span><span class="default">t</span><span class="default">,</span>&#0039;<span class="default">StateLevels</span>&#0039;<span class="default">, </span><span class="default">O</span><span class="default">)</span>
<span class="default">[</span><span class="default">r</span> <span class="default">lowercrossvalue</span> <span class="default">uppercrossvalue</span> <span class="default">lowerreference</span> <span class="default">upperreference</span><span class="default">]=</span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">)</span>
<span class="default">[</span><span class="default">r</span> <span class="default">lowercrossvalue</span> <span class="default">uppercrossvalue</span> <span class="default">lowerreference</span> <span class="default">upperreference</span><span class="default">]=</span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">, </span><span class="default">Fs</span><span class="default">)</span>
<span class="default">[</span><span class="default">r</span> <span class="default">lowercrossvalue</span> <span class="default">uppercrossvalue</span> <span class="default">lowerreference</span> <span class="default">upperreference</span><span class="default">]=</span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">, </span><span class="default">t</span><span class="default">)</span>
<span class="default">[</span><span class="default">r</span> <span class="default">lowercrossvalue</span> <span class="default">uppercrossvalue</span> <span class="default">lowerreference</span> <span class="default">upperreference</span><span class="default">]=</span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">, </span><span class="default">t</span><span class="default">, </span>&#0039;<span class="default">PercentReferenceLevels</span>&#0039;<span class="default">, </span><span class="default">N</span><span class="default"> )</span>
<span class="default">[</span><span class="default">r</span> <span class="default">lowercrossvalue</span> <span class="default">uppercrossvalue</span> <span class="default">lowerreference</span> <span class="default">upperreference</span><span class="default">]= </span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">, </span><span class="default">t</span><span class="default">, </span>&#0039;<span class="default">Tolerance</span>&#0039;<span class="default">, </span><span class="default">M</span><span class="default">)</span>
<span class="default">[</span><span class="default">r</span> <span class="default">lowercrossvalue</span> <span class="default">uppercrossvalue</span> <span class="default">lowerreference</span> <span class="default">upperreference</span><span class="default">]= </span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">, </span><span class="default">t</span><span class="default">,</span>&#0039;<span class="default">StateLevels</span>&#0039;<span class="default">, </span><span class="default">O</span><span class="default">)</span>
<span class="default">[</span><span class="default">r</span> <span class="default">lowercrossvalue</span> <span class="default">uppercrossvalue</span> <span class="default">lowerreference</span> <span class="default">upperreference</span><span class="default">]= </span><span class="functionid">falltime</span><span class="default">(</span><span class="default">x</span><span class="default">, </span><span class="default">t</span><span class="default">,</span>&#0039;<span class="default">StateLevels</span>&#0039;<span class="default">, </span><span class="default">O</span><span class="default">, </span>&#0039;<span class="default">fig</span>&#0039;<span class="default">, </span><span class="default">on</span> <span class="default">or</span> <span class="default">off</span><span class="default">)</span></pre></div></div>

<div class="refsection"><h3 class="title">Parameters</h3>
   <dl><dt><span class="term">x:</span>
      <dd><p class="para">real vector.</p></dd></dt>
   <dt><span class="term">Fs:</span>
      <dd><p class="para">specifies the sample rate, Fs, as a positive   scalar, where the first sample instant corresponds to a time of zero.</p></dd></dt>
   <dt><span class="term">t:</span>
      <dd><p class="para">defiene instant sample time t as vector with same length of x, or specifies the sample rate, t, as a positive scalar.</p></dd></dt>
   <dt><span class="term">PercentReferenceLevels:</span>
      <dd><p class="para">specify the percentreferenceleves as a percentage, default value of N is [10 90].</p></dd></dt>
   <dt><span class="term">Tolerance:</span>
      <dd><p class="para">define the tolerance value as real scaler value, where default value of M is 2.0.</p></dd></dt>
   <dt><span class="term">StateLevels:</span>
      <dd><p class="para">define the lower and upper state levels as two element real vector.</p></dd></dt>
   <dt><span class="term">fig:</span>
      <dd><p class="para">specify the logical input value to display figure as one of &#0039;on&#0039; or &#0039;off&#0039;, where the default input in &#0039;off&#0039;.</p></dd></dt>
   <dt><span class="term">f:</span>
      <dd><p class="para">return fall time of negative-going bilevel waveform transitions X.</p></dd></dt>
   <dt><span class="term">lowercrossvalue:</span>
      <dd><p class="para">return the lowerc cross value.</p></dd></dt>
   <dt><span class="term">uppercrossvalue:</span>
      <dd><p class="para">return the upper cross value.</p></dd></dt>
   <dt><span class="term">lowerreference:</span>
      <dd><p class="para">return lower reference value corrosponding to lower percent reference value.</p></dd></dt>
   <dt><span class="term">upperreference:</span>
      <dd><p class="para">return upper reference value corrosponding to upper percent reference value.</p></dd></dt></dl></div>
    <br />

    <div class="manualnavbar">
    <table width="100%">
    <tr><td colspan="3" class="next"><a href="http://bugzilla.scilab.org/enter_bug.cgi?product=Scilab%20software&component=Documentation%20pages" class="ulink">Report an issue</a></td></tr>
<tr>
      <td width="30%">
    	<span class="previous"><a href="eqtflength.html">&lt;&lt; eqtflength</a></span>

      </td>
      <td width="40%" class="center">
      	<span class="top"><a href="section_cc2bc01c47967d47fcf3507a91d572ba.html">FOSSEE Signal Processing Toolbox</a></span>

      </td>
      <td width="30%" class="next">
      	<span class="next"><a href="fftfilt.html">fftfilt &gt;&gt;</a></span>

      </td>
    </tr></table>
      <hr />
    </div>
  </body>
</html>