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


ZCROSS_f

Threshold detection at zero

Block Screenshot

Description

An output event is generated when all inputs (if more than one) cross zero simultaneously.

Parameters

  • Input size

    a positive integer.

    Property : Type 'vec' of size 1.

Default properties

  • always active: no

  • direct-feedthrough: yes

  • zero-crossing: yes

  • mode: no

  • regular inputs:

    - port 1 : size [1,1] / type 1

  • number/sizes of activation inputs: 0

  • number/sizes of activation outputs: 1

  • continuous-time state: no

  • discrete-time state: no

  • object discrete-time state: no

  • name of computational function: zcross

Interfacing function

  • SCI/modules/scicos_blocks/macros/Threshold/ZCROSS_f.sci

Computational function

  • SCI/modules/scicos_blocks/src/fortran/zcross.f (Type 1)

Report an issue
<< POSTONEG_f Zero crossing detection palette Programming xcos Blocks >>

Copyright (c) 2022-2023 (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 Mar 27 11:52:50 GMT 2023