functionmeanFrequency
Return mean frequency
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | nCrossing | Number of crossing edges in the last window | |
| Modelica.Units.SI.Time | window | Length of sliding time window |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Frequency | freqHzMean | Mean frequency in sliding time window |