<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, viewing/importing matrix/array data from maple</title>
    <link>http://www.mapleprimes.com/questions/38432-Viewingimporting-Matrixarray-Data-From-Maple</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Tue, 09 Jun 2026 06:46:28 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 06:46:28 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, viewing/importing matrix/array data from maple</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, viewing/importing matrix/array data from maple</title>
      <link>http://www.mapleprimes.com/questions/38432-Viewingimporting-Matrixarray-Data-From-Maple</link>
    </image>
    <item>
      <title>use a Matrix to begin with</title>
      <link>http://www.mapleprimes.com/questions/38432-Viewingimporting-Matrixarray-Data-From-Maple?ref=Feed:MaplePrimes:viewing/importing matrix/array data from maple:Comments#answer69112</link>
      <itunes:summary>&lt;p&gt;Maybe you could create a Matrix inside the procedure get_quantities, instead of a table like q1, and then have that procedure assign directly to the entries of that Matrix, and have that routine also return that Matrix? Ie, right at the beginning of the procedure, insert a line like the following, and leave the rest as it is.&lt;/p&gt;
&lt;pre&gt;
q1 := Matrix(4,4);
&lt;/pre&gt;
&lt;p&gt;Having done it your original way, can you get the conversion of table q1 to a 4x4 Matrix like so, assuming q1's indices are valid?&lt;/p&gt;
&lt;pre&gt;
Matrix(4,4,{op(map(op@lhs=rhs, op(eval(q1))))});
&lt;/pre&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Maybe you could create a Matrix inside the procedure get_quantities, instead of a table like q1, and then have that procedure assign directly to the entries of that Matrix, and have that routine also return that Matrix? Ie, right at the beginning of the procedure, insert a line like the following, and leave the rest as it is.&lt;/p&gt;
&lt;pre&gt;
q1 := Matrix(4,4);
&lt;/pre&gt;
&lt;p&gt;Having done it your original way, can you get the conversion of table q1 to a 4x4 Matrix like so, assuming q1's indices are valid?&lt;/p&gt;
&lt;pre&gt;
Matrix(4,4,{op(map(op@lhs=rhs, op(eval(q1))))});
&lt;/pre&gt;
&lt;p&gt;acer&lt;/p&gt;</description>
      <guid>69112</guid>
      <pubDate>Mon, 03 Nov 2008 06:55:05 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>Define Matrix First</title>
      <link>http://www.mapleprimes.com/questions/38432-Viewingimporting-Matrixarray-Data-From-Maple?ref=Feed:MaplePrimes:viewing/importing matrix/array data from maple:Comments#answer69111</link>
      <itunes:summary>&lt;p&gt;See acer's answer.&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;See acer's answer.&amp;nbsp;&lt;/p&gt;</description>
      <guid>69111</guid>
      <pubDate>Mon, 03 Nov 2008 06:57:41 Z</pubDate>
      <itunes:author>momiji</itunes:author>
      <author>momiji</author>
    </item>
    <item>
      <title>efficient export</title>
      <link>http://www.mapleprimes.com/questions/38432-Viewingimporting-Matrixarray-Data-From-Maple?ref=Feed:MaplePrimes:viewing/importing matrix/array data from maple:Comments#comment82631</link>
      <itunes:summary>&lt;p&gt;Thanks for the reply. Initializing the matrix works, although I made it a global variable by putting it outside the procedure. Then I could convert the matrix into matlab formats and copy them to matlab. But still I wonder if there is a better way since I have to repeat the copy and paste manually for tens of times.&lt;/p&gt;
&lt;p&gt;I appreciate your help.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thanks for the reply. Initializing the matrix works, although I made it a global variable by putting it outside the procedure. Then I could convert the matrix into matlab formats and copy them to matlab. But still I wonder if there is a better way since I have to repeat the copy and paste manually for tens of times.&lt;/p&gt;
&lt;p&gt;I appreciate your help.&lt;/p&gt;</description>
      <guid>82631</guid>
      <pubDate>Mon, 03 Nov 2008 07:57:52 Z</pubDate>
      <itunes:author>fenghedo</itunes:author>
      <author>fenghedo</author>
    </item>
    <item>
      <title>unclear</title>
      <link>http://www.mapleprimes.com/questions/38432-Viewingimporting-Matrixarray-Data-From-Maple?ref=Feed:MaplePrimes:viewing/importing matrix/array data from maple:Comments#comment94221</link>
      <itunes:summary>&lt;p&gt;What exactly you are trying to do is still unclear to me.&lt;/p&gt;
&lt;p&gt;It shouldn't make a difference whether the Matrix is a global of the procedure or is returned by that procedure, as far as subsequently exporting to Matlab formats goes.&lt;/p&gt;
&lt;p&gt;If you do,&lt;/p&gt;
&lt;pre&gt;
M := get_quantities(..blah..);
&lt;/pre&gt;
&lt;p&gt;then M gets assigned the Matrix returned by get_quantities. You can deal with that as easily as with something declared as global inside the procedure.&lt;/p&gt;
&lt;p&gt;You didn't describe cutting and pasting in the original post. You shouldn't have to resort to that, to get data from Maple into Matlab. See the ?ExportMatrix help-page, which describes how to write a Maple Matrix out to a file in Matlab format.&lt;/p&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;What exactly you are trying to do is still unclear to me.&lt;/p&gt;
&lt;p&gt;It shouldn't make a difference whether the Matrix is a global of the procedure or is returned by that procedure, as far as subsequently exporting to Matlab formats goes.&lt;/p&gt;
&lt;p&gt;If you do,&lt;/p&gt;
&lt;pre&gt;
M := get_quantities(..blah..);
&lt;/pre&gt;
&lt;p&gt;then M gets assigned the Matrix returned by get_quantities. You can deal with that as easily as with something declared as global inside the procedure.&lt;/p&gt;
&lt;p&gt;You didn't describe cutting and pasting in the original post. You shouldn't have to resort to that, to get data from Maple into Matlab. See the ?ExportMatrix help-page, which describes how to write a Maple Matrix out to a file in Matlab format.&lt;/p&gt;
&lt;p&gt;acer&lt;/p&gt;</description>
      <guid>94221</guid>
      <pubDate>Mon, 03 Nov 2008 08:19:51 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
  </channel>
</rss>