Rise time of positivegoing bilevel waveform transitions
R = risetime(X)
R = risetime(X,FS)
R = risetime(X,T)
[R,LT,UT]
= risetime(...)
[R,LT,UT,LL,UL]
= risetime(...)
[...] = risetime(...,Name,Value)
risetime(...)
returns a vector, R
= risetime(X
)R
, containing the time each
transition of the input bilevel waveform, X
,
takes to cross from the 10% to 90% reference levels. To determine
the transitions, risetime
estimates the state
levels of the input waveform by a histogram method. risetime
identifies
all regions that cross the upperstate boundary of the low state and
the lowerstate boundary of the high state. The lowstate and highstate
boundaries are expressed as the state level plus or minus a multiple
of the difference between the state levels. See StateLevel Tolerances. Because risetime
uses
interpolation, R
may contain values that do not
correspond to sampling instants of the bilevel waveform, X
.
specifies
the sampling frequency in hertz. The sampling frequency determines
the sample instants corresponding to the elements in R
= risetime(X
,FS
)X
.
The first sample instant in X
corresponds to t=0.
Because risetime
uses interpolation, R
may
contain values that do not correspond to sampling instants of the
bilevel waveform, X
.
specifies
the sample instants, R
= risetime(X
,T
)T
, as a vector with the
same number of elements as X
.
[
returns vectors, R
,LT
,UT
]
= risetime(...)LT
and UT
,
whose elements correspond to the time instants where X
crosses
the lower and upperpercent reference levels.
[
returns the levels, R
,LT
,UT
,LL
,UL
]
= risetime(...)LL
and UL
,
that correspond to the lower and upperpercent reference levels.
[...] = risetime(...,
returns
the rise times with additional options specified by one or more Name,Value
)Name,Value
pair
arguments.
risetime(...)
plots the signal and darkens
the regions of each transition where rise time is computed. The plot
marks the lower and upper crossings and the associated reference levels.
The state levels and the corresponding associated lower and upperstate
boundaries are also plotted.

Bilevel waveform. 

Sample rate in hertz. 

Vector of sample instants. The length of 

Reference levels as a percentage of the waveform amplitude.
The lowstate level is defined to be 0 percent. The highstate level
is defined to be 100 percent. The value of Default: 

Low and highstate levels. Specifies the levels to use for the low and highstate levels as a 2element real row vector. The first element is the lowstate level. The second element is the highstate level. 

Tolerance levels (lower and upperstate boundaries) expressed as a percentage. See StateLevel Tolerances. Default: 

Rise times. 

Instants when positivegoing transition crosses the lowerreference
level. By default, the lower reference level is the 10% reference
level. The upper reference level is the 90% reference level. You can
change the default reference levels by specifying the 

Instants when positivegoing transition crosses the upperreference
level. By default, the lower reference level is the 10% reference
level. The upper reference level is the 90% reference level. You can
change the default reference levels by specifying the 

Lower reference level in waveform amplitude units. 

Upper reference level in waveform amplitude units. 
[1] IEEE^{®} Standard on Transitions, Pulses, and Related Waveforms, IEEE Standard 181, 2003, pp. 15–17.