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:lang="en" xml:id="mtlb_0">
15
<refname>mtlb_0</refname>
16
<refpurpose>Matlab non-conjugate transposition emulation function</refpurpose>
19
<title>Description</title>
20
<para>Matlab and Scilab non-conjugate transposition behave differently in some particular cases:</para>
24
With character strings operands: The <literal>.'</literal> operator is used to transpose whole
25
character strings in Scilab while Matlab realizes the transposition of each character.
30
The function <literal>mtlb_0(A)</literal> is used by
31
<literal>mfile2sci</literal> to replace <literal>A.'</literal> when it was not
32
possible to know what were the operands while porting Matlab code to Scilab. This function will
33
determine the correct semantic at run time. If you want to have a
34
more efficient code it is possible to replace <literal>mtlb_0</literal> calls:
39
If <literal>A</literal> is not a character string matrix
40
<literal>mtlb_0(A)</literal> may be replaced by <literal>A.'</literal>
45
Caution: <literal>mtlb_0</literal> has not to be used for hand coded functions.
48
<refsection role="see also">
49
<title>See Also</title>
50
<simplelist type="inline">
52
<link linkend="MatlabScilab_character_strings">Matlab-Scilab_character_strings</link>
15
<refname>mtlb_0</refname>
16
<refpurpose>Matlab non-conjugate transposition emulation function</refpurpose>
19
<title>Description</title>
20
<para>Matlab and Scilab non-conjugate transposition behave differently in some particular cases:</para>
24
With character strings operands: The <literal>.'</literal> operator is used to transpose whole
25
character strings in Scilab while Matlab realizes the transposition of each character.
30
The function <literal>mtlb_0(A)</literal> is used by
31
<literal>mfile2sci</literal> to replace <literal>A.'</literal> when it was not
32
possible to know what were the operands while porting Matlab code to Scilab. This function will
33
determine the correct semantic at run time. If you want to have a
34
more efficient code it is possible to replace <literal>mtlb_0</literal> calls:
39
If <literal>A</literal> is not a character string matrix
40
<literal>mtlb_0(A)</literal> may be replaced by <literal>A.'</literal>
45
Caution: <literal>mtlb_0</literal> has not to be used for hand coded functions.
48
<refsection role="see also">
49
<title>See Also</title>
50
<simplelist type="inline">
52
<link linkend="MatlabScilab_character_strings">Matlab-Scilab_character_strings</link>