22
22
* See the file ./license.txt
24
24
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="MAXMIN">
26
<refname>MAXMIN</refname>
27
<refpurpose>Maximum or minimum value of vectors's elements</refpurpose>
30
<title>Block Screenshot</title>
34
<imagedata fileref="../../../../images/palettes/MAXMIN.png" align="center" valign="middle"/>
39
<refsection id="Contents_MAXMIN">
40
<title>Contents</title>
44
<link linkend="MAXMIN">Maximum or minimum value of vectors's elements</link>
51
<xref linkend="Palette_MAXMIN">Palette</xref>
56
<xref linkend="Description_MAXMIN">Description</xref>
61
<xref linkend="Dialogbox_MAXMIN">Dialog box</xref>
66
<xref linkend="Defaultproperties_MAXMIN">Default properties</xref>
71
<xref linkend="Interfacingfunction_MAXMIN">Interfacing function</xref>
76
<xref linkend="Computationalfunction_MAXMIN">Computational function</xref>
81
<xref linkend="Seealso_MAXMIN">See also</xref>
88
<refsection id="Palette_MAXMIN">
89
<title>Palette</title>
93
<link linkend="Mathoperations_pal">Math operations palette</link>
98
<refsection id="Description_MAXMIN">
99
<title>Description</title>
101
This block finds the minimum/maximum values (parameter <emphasis role="bold">Min or Max</emphasis>) and accepts one or two inputs depending on the parameter <emphasis role="bold">Number of input vectors</emphasis> :
104
<informaltable border="1" cellpadding="2">
107
<emphasis role="bold">Number of input vectors</emphasis>
110
<emphasis role="bold">Input</emphasis>
113
<emphasis role="bold">Operation</emphasis>
118
<emphasis role="bold">1</emphasis>
120
<td align="left">Vector</td>
122
The input must be a vector and the bloc output is the minimum/maximum value of the elements of its input vector.
127
<emphasis role="bold">2</emphasis>
129
<td align="left">Scalar</td>
130
<td align="left">The block output is the minimal or maximal scalar.</td>
134
<emphasis role="bold">2</emphasis>
136
<td align="left">Vector</td>
138
The input vectors must have the same size. The block output is a vector with the same size as
139
inputs.The elements of the output vector are the minimum/maximum elements of the corresponding
140
elements of the inputs.
145
<refsection id="Dialogbox_MAXMIN">
146
<title>Dialog box</title>
150
<imagedata fileref="../../../../images/gui/MAXMIN_gui.gif" align="center" valign="middle"/>
160
<emphasis role="bold">Min or Max</emphasis>
162
<para> The function (min or max) to apply to the input.</para>
163
<para> Properties : Type 'vec' of size 1. </para>
167
<emphasis role="bold">Number of input vectors</emphasis>
169
<para> The number of inputs to the block.</para>
170
<para> Properties : Type 'vec' of size 1. </para>
174
<emphasis role="bold">zero-crossing</emphasis>
176
<para> Select to enable zero crossing detection to detect minimum and maximum values.</para>
177
<para> Properties : Type 'vec' of size 1. </para>
181
<refsection id="Defaultproperties_MAXMIN">
182
<title>Default properties</title>
186
<emphasis role="bold">always active:</emphasis> no
191
<emphasis role="bold">direct-feedthrough:</emphasis> yes
196
<emphasis role="bold">zero-crossing:</emphasis> no
201
<emphasis role="bold">mode:</emphasis> no
206
<emphasis role="bold">regular inputs:</emphasis>
209
<emphasis role="bold">- port 1 : size [-1,1] / type 1</emphasis>
214
<emphasis role="bold">regular outputs:</emphasis>
217
<emphasis role="bold">- port 1 : size [1,1] / type 1</emphasis>
222
<emphasis role="bold">number/sizes of activation inputs:</emphasis> 0
227
<emphasis role="bold">number/sizes of activation outputs:</emphasis> 0
232
<emphasis role="bold">continuous-time state:</emphasis> no
237
<emphasis role="bold">discrete-time state:</emphasis> no
242
<emphasis role="bold">object discrete-time state:</emphasis> no
247
<emphasis role="bold">name of computational function:</emphasis>
248
<emphasis role="italic">minmax</emphasis>
253
<refsection id="Interfacingfunction_MAXMIN">
254
<title>Interfacing function</title>
257
<para> SCI/modules/scicos_blocks/macros/NonLinear/MAXMIN.sci</para>
261
<refsection id="Computationalfunction_MAXMIN">
262
<title>Computational function</title>
265
<para> SCI/modules/scicos_blocks/src/c/minmax.c (Type 4)</para>
269
<refsection id="Seealso_MAXMIN">
270
<title>See also</title>
274
<link linkend="MIN_f">MIN_f - Minimum value of vector's element (Xcos block)</link>
279
<link linkend="MAX_f">MAX_f - Maximum value of vector's elements (Xcos block)</link>
26
<refname>MAXMIN</refname>
27
<refpurpose>Maximum or minimum value of vectors's elements</refpurpose>
30
<title>Block Screenshot</title>
34
<imagedata fileref="../../../../images/palettes/MAXMIN.png" align="center" valign="middle"/>
39
<refsection id="Contents_MAXMIN">
40
<title>Contents</title>
44
<link linkend="MAXMIN">Maximum or minimum value of vectors's elements</link>
51
<xref linkend="Palette_MAXMIN">Palette</xref>
56
<xref linkend="Description_MAXMIN">Description</xref>
61
<xref linkend="Dialogbox_MAXMIN">Dialog box</xref>
66
<xref linkend="Defaultproperties_MAXMIN">Default properties</xref>
71
<xref linkend="Interfacingfunction_MAXMIN">Interfacing function</xref>
76
<xref linkend="Computationalfunction_MAXMIN">Computational function</xref>
81
<xref linkend="Seealso_MAXMIN">See also</xref>
88
<refsection id="Palette_MAXMIN">
89
<title>Palette</title>
93
<link linkend="Mathoperations_pal">Math operations palette</link>
98
<refsection id="Description_MAXMIN">
99
<title>Description</title>
101
This block finds the minimum/maximum values (parameter <emphasis role="bold">Min or Max</emphasis>) and accepts one or two inputs depending on the parameter <emphasis role="bold">Number of input vectors</emphasis> :
104
<informaltable border="1" cellpadding="2">
107
<emphasis role="bold">Number of input vectors</emphasis>
110
<emphasis role="bold">Input</emphasis>
113
<emphasis role="bold">Operation</emphasis>
118
<emphasis role="bold">1</emphasis>
120
<td align="left">Vector</td>
122
The input must be a vector and the bloc output is the minimum/maximum value of the elements of its input vector.
127
<emphasis role="bold">2</emphasis>
129
<td align="left">Scalar</td>
130
<td align="left">The block output is the minimal or maximal scalar.</td>
134
<emphasis role="bold">2</emphasis>
136
<td align="left">Vector</td>
138
The input vectors must have the same size. The block output is a vector with the same size as
139
inputs.The elements of the output vector are the minimum/maximum elements of the corresponding
140
elements of the inputs.
145
<refsection id="Dialogbox_MAXMIN">
146
<title>Dialog box</title>
150
<imagedata fileref="../../../../images/gui/MAXMIN_gui.gif" align="center" valign="middle"/>
160
<emphasis role="bold">Min or Max</emphasis>
162
<para> The function (min or max) to apply to the input.</para>
163
<para> Properties : Type 'vec' of size 1. </para>
167
<emphasis role="bold">Number of input vectors</emphasis>
169
<para> The number of inputs to the block.</para>
170
<para> Properties : Type 'vec' of size 1. </para>
174
<emphasis role="bold">zero-crossing</emphasis>
176
<para> Select to enable zero crossing detection to detect minimum and maximum values.</para>
177
<para> Properties : Type 'vec' of size 1. </para>
181
<refsection id="Defaultproperties_MAXMIN">
182
<title>Default properties</title>
186
<emphasis role="bold">always active:</emphasis> no
191
<emphasis role="bold">direct-feedthrough:</emphasis> yes
196
<emphasis role="bold">zero-crossing:</emphasis> no
201
<emphasis role="bold">mode:</emphasis> no
206
<emphasis role="bold">regular inputs:</emphasis>
209
<emphasis role="bold">- port 1 : size [-1,1] / type 1</emphasis>
214
<emphasis role="bold">regular outputs:</emphasis>
217
<emphasis role="bold">- port 1 : size [1,1] / type 1</emphasis>
222
<emphasis role="bold">number/sizes of activation inputs:</emphasis> 0
227
<emphasis role="bold">number/sizes of activation outputs:</emphasis> 0
232
<emphasis role="bold">continuous-time state:</emphasis> no
237
<emphasis role="bold">discrete-time state:</emphasis> no
242
<emphasis role="bold">object discrete-time state:</emphasis> no
247
<emphasis role="bold">name of computational function:</emphasis>
248
<emphasis role="italic">minmax</emphasis>
253
<refsection id="Interfacingfunction_MAXMIN">
254
<title>Interfacing function</title>
257
<para> SCI/modules/scicos_blocks/macros/NonLinear/MAXMIN.sci</para>
261
<refsection id="Computationalfunction_MAXMIN">
262
<title>Computational function</title>
265
<para> SCI/modules/scicos_blocks/src/c/minmax.c (Type 4)</para>
269
<refsection id="Seealso_MAXMIN">
270
<title>See also</title>
274
<link linkend="MIN_f">MIN_f - Minimum value of vector's element (Xcos block)</link>
279
<link linkend="MAX_f">MAX_f - Maximum value of vector's elements (Xcos block)</link>