FrequencyDivider

This block produces an output event every n times it is activated. The outgoing event is synchronous with the activation event of the block. The output is not a periodic activation signal even if the block is activated by a periodic activation signal.

    FreqDivider

Library

ActivationOperations

Description

The FreqDivider block produces an output event every n times it is activated: The input of that block is directed once every n times to the output.

The outgoing event is synchronous with the activation event of the block. The output is not a periodic activation signal even if the block is activated by a periodic activation signal.

To change the frequency of a periodic activation signal, use the ReSampleClock block.

Parameters

FreqDivider_0

NameLabelDescriptionData TypeValid Values

phase

Phase must be in the range [0 ... Division factor -1]

Real scalar value. Phase.

Scalar

div_factor

Division factor

Real scalar value. Division factor. In case the factor is non-integer, the floor rounding is applied.

Scalar

Ports

NameTypeDescriptionIO TypeNumber

Port 1

activation

output

1

Port 2

activation

input

1

Advanced Properties

NameValueDescription

always active

no

direct-feedthrough

no

zero-crossing

no

mode

no

continuous-time state

no

discrete-time state

no

Diagram

FreqDivider