Download data/help/Continuous_pal/DERIV.xml from notsn/XCos_MCP: direct link, hf CLI and curl.
- Browser
- Download file 7.07 kB
-
https://huggingface.co/spaces/notsn/XCos_MCP/resolve/main/data/help/Continuous_pal/DERIV.xml
- Command line
-
hf download hf://spaces/notsn/XCos_MCP/data/help/Continuous_pal/DERIV.xml
-
curl -L -o DERIV.xml https://huggingface.co/spaces/notsn/XCos_MCP/resolve/main/data/help/Continuous_pal/DERIV.xml
7.07 kB
| <!-- | |
| * Scicos | |
| * | |
| * Copyright (C) INRIA - METALAU Project <scicos@inria.fr> (HTML version) | |
| * Copyright (C) DIGITEO - Scilab Consortium (XML Docbook version) | |
| * | |
| * This program is free software; you can redistribute it and/or modify | |
| * it under the terms of the GNU General Public License as published by | |
| * the Free Software Foundation; either version 2 of the License, or | |
| * (at your option) any later version. | |
| * | |
| * This program is distributed in the hope that it will be useful, | |
| * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| * GNU General Public License for more details. | |
| * | |
| * You should have received a copy of the GNU General Public License | |
| * along with this program; if not, write to the Free Software | |
| * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | |
| * | |
| * See the file ./license.txt | |
| --> | |
| <refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" | |
| xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns3="http://www.w3.org/1999/xhtml" | |
| xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" | |
| xmlns:scilab="http://www.scilab.org" xml:id="DERIV" xml:lang="en_US"> | |
| <refnamediv> | |
| <refname>DERIV</refname> | |
| <refpurpose>Derivative</refpurpose> | |
| </refnamediv> | |
| <refsection> | |
| <title>Block Screenshot</title> | |
| <inlinemediaobject> | |
| <imageobject> | |
| <imagedata align="center" fileref="../../../../images/palettes/DERIV.png" valign="middle"/> | |
| </imageobject> | |
| </inlinemediaobject> | |
| </refsection> | |
| <refsection id="Contents_DERIV"> | |
| <title>Contents</title> | |
| <itemizedlist> | |
| <listitem> | |
| <xref linkend="Description_DERIV">Description</xref> | |
| </listitem> | |
| <listitem> | |
| <xref linkend="Defaultproperties_DERIV">Default properties</xref> | |
| </listitem> | |
| <listitem> | |
| <xref linkend="Interfacingfunction_DERIV">Interfacing function</xref> | |
| </listitem> | |
| <listitem> | |
| <xref linkend="Computationalfunction_DERIV">Computational function</xref> | |
| </listitem> | |
| <listitem> | |
| <xref linkend="Example_DERIV">Example</xref> | |
| </listitem> | |
| </itemizedlist> | |
| </refsection> | |
| <refsection id="Description_DERIV"> | |
| <title>Description</title> | |
| <para>The Derivative block approximates the instantaneous derivative of | |
| its input with respect to time t. | |
| </para> | |
| <latex alt="y(t) = (u(t) - u(t-h)) / h"> | |
| $$ | |
| y(t) = \frac{u(t) - u(t-h)}{h} | |
| $$ | |
| </latex> | |
| <para>The derivative block has no setting and the initial output for the | |
| block is zero. | |
| </para> | |
| </refsection> | |
| <refsection id="Defaultproperties_DERIV"> | |
| <title>Default properties</title> | |
| <itemizedlist> | |
| <listitem> | |
| <para> | |
| <emphasis role="bold">always active:</emphasis> no | |
| </para> | |
| </listitem> | |
| <listitem> | |
| <para> | |
| <emphasis role="bold">direct-feedthrough:</emphasis> yes | |
| </para> | |
| </listitem> | |
| <listitem> | |
| <para> | |
| <emphasis role="bold">zero-crossing:</emphasis> no | |
| </para> | |
| </listitem> | |
| <listitem> | |
| <para> | |
| <emphasis role="bold">mode:</emphasis> no | |
| </para> | |
| </listitem> | |
| <listitem> | |
| <para> | |
| <emphasis role="bold">regular inputs:</emphasis> | |
| </para> | |
| <para> | |
| <emphasis role="bold">- port 1 : size [-1,1] / type 1</emphasis> | |
| </para> | |
| </listitem> | |
| <listitem> | |
| <para> | |
| <emphasis role="bold">regular outputs:</emphasis> | |
| </para> | |
| <para> | |
| <emphasis role="bold">- port 1 : size [-1,1] / type 1</emphasis> | |
| </para> | |
| </listitem> | |
| <listitem> | |
| <para> | |
| <emphasis role="bold">number/sizes of activation inputs:</emphasis> 0 | |
| </para> | |
| </listitem> | |
| <listitem> | |
| <para> | |
| <emphasis role="bold">number/sizes of activation outputs: </emphasis> 0 | |
| </para> | |
| </listitem> | |
| <listitem> | |
| <para> | |
| <emphasis role="bold">continuous-time state:</emphasis> no | |
| </para> | |
| </listitem> | |
| <listitem> | |
| <para> | |
| <emphasis role="bold">discrete-time state:</emphasis> no | |
| </para> | |
| </listitem> | |
| <listitem> | |
| <para> | |
| <emphasis role="bold">object discrete-time state:</emphasis> no | |
| </para> | |
| </listitem> | |
| <listitem> | |
| <para> | |
| <emphasis role="bold">name of computational function:</emphasis> | |
| <emphasis role="italic">deriv</emphasis> | |
| </para> | |
| </listitem> | |
| </itemizedlist> | |
| <para/> | |
| </refsection> | |
| <refsection id="Interfacingfunction_DERIV"> | |
| <title>Interfacing function</title> | |
| <itemizedlist> | |
| <listitem> | |
| <para>SCI/modules/scicos_blocks/macros/Linear/DERIV.sci</para> | |
| </listitem> | |
| </itemizedlist> | |
| </refsection> | |
| <refsection id="Computationalfunction_DERIV"> | |
| <title>Computational function</title> | |
| <itemizedlist> | |
| <listitem> | |
| <para>SCI/modules/scicos_blocks/src/c/deriv.c (Type 4)</para> | |
| </listitem> | |
| </itemizedlist> | |
| </refsection> | |
| <refsection id="Example_DERIV"> | |
| <title>Example</title> | |
| <para>In this example, we compute and display the derivative waveform of a | |
| sinusoidal input signal, with amplitude 2 and frequency 1.25 Hz. | |
| </para> | |
| <para>The input and output waveforms of the DERIVATIVE block are shown | |
| below: | |
| </para> | |
| <para> | |
| <link type="scilab" linkend="scilab.xcos/xcos/examples/continuous_pal/DERIV_Example.zcos"> | |
| <inlinemediaobject> | |
| <imageobject> | |
| <imagedata fileref="../../../../examples/continuous_pal/DERIV_Example.zcos"/> | |
| </imageobject> | |
| </inlinemediaobject> | |
| </link> | |
| </para> | |
| <para> | |
| <scilab:image><![CDATA[ | |
| importXcosDiagram(SCI + "/modules/xcos/examples/continuous_pal/DERIV_Example.zcos"); | |
| xcos_simulate(scs_m, 4); | |
| ]]></scilab:image> | |
| </para> | |
| </refsection> | |
| </refentry> | |