Scilab Website | Contribute with GitLab | Mailing list archives | ATOMS toolboxes
Scilab Online Help
6.1.1 - Português

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

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

Ajuda do Scilab >> Xcos > palettes > Continuous_pal > DERIV

DERIV

Derivative

Block Screenshot

Description

The Derivative block approximates the instantaneous derivative of its input with respect to time t.

y(t) = (u(t) - u(t-h)) / h

The derivative block has no setting and the initial output for the block is zero.

Default properties

  • always active: no

  • direct-feedthrough: yes

  • zero-crossing: no

  • mode: no

  • regular inputs:

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

  • regular outputs:

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

  • number/sizes of activation inputs: 0

  • number/sizes of activation outputs: 0

  • continuous-time state: no

  • discrete-time state: no

  • object discrete-time state: no

  • name of computational function: deriv

Interfacing function

  • SCI/modules/scicos_blocks/macros/Linear/DERIV.sci

Computational function

  • SCI/modules/scicos_blocks/src/c/deriv.c (Type 4)

Example

In this example, we compute and display the derivative waveform of a sinusoidal input signal, with amplitude 2 and frequency 1.25 Hz.

The input and output waveforms of the DERIVATIVE block are shown below:

Report an issue
<< CLSS Continuous_pal INTEGRAL_f >>

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:35:28 CET 2022