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:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="m2sci_toeplitz">
15
<refname>toeplitz (Matlab function)</refname>
16
<refpurpose>Toeplitz matrix</refpurpose>
19
<title>Matlab/Scilab equivalent</title>
20
<informaltable border="1" width="100%">
23
<emphasis role="bold">Matlab</emphasis>
26
<emphasis role="bold">Scilab</emphasis>
31
<programlisting role="example"><![CDATA[
36
<programlisting role="example"><![CDATA[
44
<title>Particular cases</title>
45
<para><emphasis role="bold">toeplitz</emphasis> can be used with empty matrices in Scilab but not in Matlab.
49
<term>T=toeplitz(c)</term>
52
If <emphasis role="bold">c</emphasis> is complex, use <emphasis role="bold">mtlb_toeplitz</emphasis> in Scilab to have the same result than Matlab.
53
Else if <emphasis role="bold">c</emphasis> is not a scalar or a vector, use <emphasis role="bold">mtlb_toeplitz</emphasis> in Scilab to have the same result than Matlab.
58
<term>T=toeplitz(c,r)</term>
61
If <emphasis role="bold">c</emphasis> and <emphasis role="bold">r</emphasis> are not scalars or vectors or if <emphasis role="bold">c(1,1)<>r(1,1)</emphasis>, use: <emphasis role="bold">mtlb_toeplitz</emphasis> in Scilab to have the same result than Matlab.
15
<refname>toeplitz (Matlab function)</refname>
16
<refpurpose>Toeplitz matrix</refpurpose>
19
<title>Matlab/Scilab equivalent</title>
20
<informaltable border="1" width="100%">
23
<emphasis role="bold">Matlab</emphasis>
26
<emphasis role="bold">Scilab</emphasis>
31
<programlisting role="example"><![CDATA[
36
<programlisting role="example"><![CDATA[
44
<title>Particular cases</title>
46
<emphasis role="bold">toeplitz</emphasis> can be used with empty matrices in Scilab but not in Matlab.
50
<term>T=toeplitz(c)</term>
53
If <emphasis role="bold">c</emphasis> is complex, use <emphasis role="bold">mtlb_toeplitz</emphasis> in Scilab to have the same result than Matlab.
54
Else if <emphasis role="bold">c</emphasis> is not a scalar or a vector, use <emphasis role="bold">mtlb_toeplitz</emphasis> in Scilab to have the same result than Matlab.
59
<term>T=toeplitz(c,r)</term>
62
If <emphasis role="bold">c</emphasis> and <emphasis role="bold">r</emphasis> are not scalars or vectors or if <emphasis role="bold">c(1,1)<>r(1,1)</emphasis>, use: <emphasis role="bold">mtlb_toeplitz</emphasis> in Scilab to have the same result than Matlab.