13
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="zeros" xml:lang="en">
15
<refname>zeros</refname>
16
<refpurpose>matrix made of zeros</refpurpose>
19
<title>Calling Sequence</title>
26
<title>Arguments</title>
35
<term>m1, m2,..</term>
43
<title>Description</title>
45
Creates matrix of zeros (same as <literal>0*ones</literal>).
49
<term>zeros(m1,m2)</term>
52
for an <literal>(m1,m2)</literal> matrix.
57
<term>zeros(m1,m2,..,mn)</term>
60
creates a <literal>(m1,m2,..,mn)</literal> matrix filled with
69
for a matrix of same size of <literal>A</literal>.
77
is <literal>zeros(a)</literal> with <literal>a=3</literal> i.e
78
it is NOT a 3x3 matrix!
85
<para>returns a single zero</para>
90
If <literal>x</literal> is a <literal>syslin</literal> list (linear
91
system in state-space or transfer form), <literal>zeros(x)</literal> is
92
also valid and returns a zero matrix.
96
<title>Examples</title>
97
<programlisting role="example"><![CDATA[
15
<refname>zeros</refname>
16
<refpurpose>matrix made of zeros</refpurpose>
19
<title>Calling Sequence</title>
26
<title>Arguments</title>
35
<term>m1, m2,..</term>
43
<title>Description</title>
45
Creates matrix of zeros (same as <literal>0*ones</literal>).
49
<term>zeros(m1,m2)</term>
52
for an <literal>(m1,m2)</literal> matrix.
57
<term>zeros(m1,m2,..,mn)</term>
60
creates a <literal>(m1,m2,..,mn)</literal> matrix filled with
69
for a matrix of same size of <literal>A</literal>.
77
is <literal>zeros(a)</literal> with <literal>a=3</literal> i.e
78
it is NOT a 3x3 matrix!
85
<para>returns a single zero</para>
90
If <literal>x</literal> is a <literal>syslin</literal> list (linear
91
system in state-space or transfer form), <literal>zeros(x)</literal> is
92
also valid and returns a zero matrix.
96
<title>Examples</title>
97
<programlisting role="example"><![CDATA[
101
101
]]></programlisting>
103
<refsection role="see also">
104
<title>See Also</title>
105
<simplelist type="inline">
107
<link linkend="eye">eye</link>
110
<link linkend="ones">ones</link>
113
<link linkend="spzeros">spzeros</link>
103
<refsection role="see also">
104
<title>See Also</title>
105
<simplelist type="inline">
107
<link linkend="eye">eye</link>
110
<link linkend="ones">ones</link>
113
<link linkend="spzeros">spzeros</link>