summaryrefslogtreecommitdiff
path: root/help/en_US/slewrate.xml
diff options
context:
space:
mode:
authorttt2018-12-06 13:42:14 +0530
committerttt2018-12-06 13:42:14 +0530
commitd6e8cfd86be242d0a1a09a1ef7d8b7f3d12af795 (patch)
treefdbe9d1a10e7c256e86d7efae276fa75615cd0ba /help/en_US/slewrate.xml
parent3ffa5ac619587eadfdb4ffd3e2fee57fee385e21 (diff)
downloadFOSSEE-Signal-Processing-Toolbox-d6e8cfd86be242d0a1a09a1ef7d8b7f3d12af795.tar.gz
FOSSEE-Signal-Processing-Toolbox-d6e8cfd86be242d0a1a09a1ef7d8b7f3d12af795.tar.bz2
FOSSEE-Signal-Processing-Toolbox-d6e8cfd86be242d0a1a09a1ef7d8b7f3d12af795.zip
code by jitendra and added more test4.sce
Diffstat (limited to 'help/en_US/slewrate.xml')
-rw-r--r--help/en_US/slewrate.xml47
1 files changed, 1 insertions, 46 deletions
diff --git a/help/en_US/slewrate.xml b/help/en_US/slewrate.xml
index c2a9002..97afbfb 100644
--- a/help/en_US/slewrate.xml
+++ b/help/en_US/slewrate.xml
@@ -17,52 +17,7 @@
<refnamediv>
<refname>slewrate</refname>
- <refpurpose> returns the slew rate for all transitions found in the bilevel waveform</refpurpose>
+ <refpurpose></refpurpose>
</refnamediv>
-<refsynopsisdiv>
- <title>Calling Sequence</title>
- <synopsis>
- s=slewrate(x)
- s=slewrate(x, t)
- s=slewrate(x, Fs)
- s=slewrate(x, t, 'PercentReferenceLevels', N )
- s=slewrate(x, t, 'Tolerance', M)
- s=slewrate(x, t,'StateLevels', O)
-
- [s lowercrossvalue uppercrossvalue lowerreference upperreference]=slewrate(x)
- [s lowercrossvalue uppercrossvalue lowerreference upperreference]=slewrate(x, t)
- [s lowercrossvalue uppercrossvalue lowerreference upperreference]=slewrate(x, Fs)
- [s lowercrossvalue uppercrossvalue lowerreference upperreference]=slewrate(x, t, 'PercentReferenceLevels', N )
- [s lowercrossvalue uppercrossvalue lowerreference upperreference]= slewrate(x, t, 'Tolerance', M)
- [s lowercrossvalue uppercrossvalue lowerreference upperreference]= slewrate(x, t,'StateLevels', O)
- [s lowercrossvalue uppercrossvalue lowerreference upperreference]= slewrate(x, t,'StateLevels', O, 'fig', on or off)
-
- </synopsis>
-</refsynopsisdiv>
-
-
-
-
-<refsection>
- <title>Description</title>
- returns the slew rate for all transitions found in the bilevel waveform, X. The slew rate is the slope of the line connecting the 10% and 90% reference levels. The sample instants of X are the indices of the vector. To determine the transitions, slewrate estimates the state levels of the input waveform by a histogram method. slewrate identifies all regions that cross the upper-state boundary of the low state and the lower-state boundary of the high state. The low-state and high-state boundaries are expressed as the state level plus or minus a multiple of the difference between the state levels.
-</refsection>
-
-
-<refsection>
- <title>Examples</title>
- <programlisting role="example"><![CDATA[
- x=[ones(1,25) -ones(1,25) ones(1,25) ]
- t=1:length(x)
- s=slewrate(x,t)
- //EXPECTED OUTPUT:
- //s = - 2 2
-
- ]]></programlisting>
-</refsection>
-
-
-
-
</refentry>