Scicos Block
fr - eng

##
Square wave generator

### Contents

- Square wave generator
  - Palette
  - Description
  - Dialog box
  - Default properties
  - Interfacing function
  - Computational function
  - Authors

### Palette

- Sources - Sources palette

### Description

This block is a square wave generator: output takes values -M and M . Every time an event is received on the input event port, the output switches from -M to M , or M to -M .

### Dialog box

- Amplitude
  a scalar .
  Properties : Type 'vec' of size 1.

### Default properties

- always active: no
- direct-feedthrough: no
- zero-crossing: no
- mode: no
- regular outputs:
  - port 1 : size [1,1] / type 1
- number/sizes of activation inputs: 1
- number/sizes of activation outputs: 0
- continuous-time state: no
- discrete-time state: yes
- object discrete-time state: no
- name of computational function: gensqr

### Interfacing function

- SCI/macros/scicos_blocks/Sources/GENSQR_f.sci [view code]

### Computational function

- SCI/routines/scicos/gensqr.f (Type 0) [view code]

### Authors

Ramine Nikoukhah INRIA