skewness
skewness(o_waveform) =>n_skewness/nil
Description
Calculates the skewness of the specified waveform.
Skewness is a measurement of symmetry or, more precisely, the lack of symmetry. A perfectly symmetric waveform has a skewness value of zero.
Arguments
Value Returned
Examples
The following example opens simulation results stored in the specified directory.
openResults("/servers/user/distribution.psf")
=> "/servers/user/distribution.psf"
The following example lists the results contained in the results directory.
results()
=> ("tran")
The following example selects the tran results of the results directory.
selectResults('tran)
=> stdobj@0x2a9de759
The following example creates a waveform object for the signal v1net stored in the tran results.
waveform=v("v1net" ?result "tran")
=> srrWave:0x3232c020
The following example calculates the skewness value of the specified waveform.
skewness(waveform)
=> 0.1106943
Return to top