Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - English

Change language to:
Français - 日本語 - Português - Русский

Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function

Scilab Help >> Xcos > palettes > Event handling palette > freq_div

freq_div

Frequency division

Block Screenshot

Description

This block is a Super Block. The input event is directed once every n times to output. The input is driven by an event clock.

Parameters

  • Phase

    positive scalar.

    Properties : Type 'vec' of size 1

  • Division factor

    an integer greater than 1.

    Properties : Type 'vec' of size 1

Default properties

  • always active: no

  • direct-feedthrough: no

  • zero-crossing: no

  • mode: no

  • number/sizes of activation inputs: 1

  • number/sizes of activation outputs: 1

  • continuous-time state: no

  • discrete-time state: no

  • object discrete-time state: no

  • name of computational function: csuper

Interfacing function

  • SCI/modules/scicos_blocks/macros/Events/freq_div.sci

Example

The following example divides a frequency per three.

Report an issue
<< VirtualCLK0 Event handling palette Implicit palette >>

Copyright (c) 2022-2024 (Dassault Systèmes)
Copyright (c) 2017-2022 (ESI Group)
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Jan 03 14:23:34 CET 2022