Please note that the recommended version of Scilab is 2026.0.0. This page might be outdated.
See the recommended documentation of this function
ZCROSS_f
Threshold detection at zero
Block Screenshot

Contents
Palette
Description
An output event is generated when all inputs (if more than one) cross zero simultaneously.
Dialog box

- 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 | Fonctions utilitaires Scilab >> |