<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Problems with Excel import</title>
    <link>http://www.mapleprimes.com/questions/142279-Problems-With-Excel-Import</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 05:09:46 GMT</lastBuildDate>
    <pubDate>Tue, 09 Jun 2026 05:09:46 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Problems with Excel import</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Problems with Excel import</title>
      <link>http://www.mapleprimes.com/questions/142279-Problems-With-Excel-Import</link>
    </image>
    <item>
      <title>Two ways</title>
      <link>http://www.mapleprimes.com/questions/142279-Problems-With-Excel-Import?ref=Feed:MaplePrimes:Problems with Excel import:Comments#answer142280</link>
      <itunes:summary>&lt;p&gt;Here are two ways to do the manipulation. The second in three versions.&lt;/p&gt;
&lt;p&gt;restart;&lt;br&gt;A:=LinearAlgebra:-RandomMatrix(1021,2); #Example matrix (array)&lt;br&gt;f:=(x,y)-&amp;gt;x+2*y; #Example function&lt;br&gt;E:=zip(f, A[..,1], A[..,2]);&lt;br&gt;E[1..5]; &lt;br&gt;M:=convert(E,Matrix); #May be needed for the export.&lt;/p&gt;
&lt;p&gt;#A more straightforward way in 3 versions:&lt;br&gt;#Here the first column is kept intact:&lt;br&gt;B1:=Matrix(1021,2,(i,j)-&amp;gt;if j=2 then f(A[i,1],A[i,2]) else A[i,j] end if);&lt;br&gt;A[1..5,1..2];&lt;br&gt;B1[1..5,1..2];&lt;br&gt;#Here the two first columns are intact but a third added:&lt;br&gt;B2:=Matrix(1021,3,(i,j)-&amp;gt;if j=3 then f(A[i,1],A[i,2]) else A[i,j] end if);&lt;br&gt;B2[1..5,1..3];&lt;br&gt;#And this one only contains the results:&lt;br&gt;B3:=Matrix(1021,1,(i,j)-&amp;gt;f(A[i,1],A[i,2]));&lt;br&gt;B3[1..5,1];&lt;br&gt;&lt;br&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Here are two ways to do the manipulation. The second in three versions.&lt;/p&gt;
&lt;p&gt;restart;&lt;br&gt;A:=LinearAlgebra:-RandomMatrix(1021,2); #Example matrix (array)&lt;br&gt;f:=(x,y)-&amp;gt;x+2*y; #Example function&lt;br&gt;E:=zip(f, A[..,1], A[..,2]);&lt;br&gt;E[1..5]; &lt;br&gt;M:=convert(E,Matrix); #May be needed for the export.&lt;/p&gt;
&lt;p&gt;#A more straightforward way in 3 versions:&lt;br&gt;#Here the first column is kept intact:&lt;br&gt;B1:=Matrix(1021,2,(i,j)-&amp;gt;if j=2 then f(A[i,1],A[i,2]) else A[i,j] end if);&lt;br&gt;A[1..5,1..2];&lt;br&gt;B1[1..5,1..2];&lt;br&gt;#Here the two first columns are intact but a third added:&lt;br&gt;B2:=Matrix(1021,3,(i,j)-&amp;gt;if j=3 then f(A[i,1],A[i,2]) else A[i,j] end if);&lt;br&gt;B2[1..5,1..3];&lt;br&gt;#And this one only contains the results:&lt;br&gt;B3:=Matrix(1021,1,(i,j)-&amp;gt;f(A[i,1],A[i,2]));&lt;br&gt;B3[1..5,1];&lt;br&gt;&lt;br&gt;&lt;/p&gt;</description>
      <guid>142280</guid>
      <pubDate>Mon, 14 Jan 2013 21:00:37 Z</pubDate>
      <itunes:author>Preben Alsholm</itunes:author>
      <author>Preben Alsholm</author>
    </item>
    <item>
      <title>f(x,y) values as third column</title>
      <link>http://www.mapleprimes.com/questions/142279-Problems-With-Excel-Import?ref=Feed:MaplePrimes:Problems with Excel import:Comments#answer142281</link>
      <itunes:summary>&lt;p&gt;If you want the results as the third column in the excelsheet, you can do&lt;/p&gt;
&lt;pre&gt;Q := Import( "Test.xls",1, "A1:B20" );&lt;br&gt;f := (x,y) -&amp;gt; 2*x+y;&lt;br&gt;C := f~(Q[..,1],Q[..,2]);  # a short alternative for zip&lt;br&gt;Export( C, "Test.xls", 1, "C1" );&lt;/pre&gt;
&lt;p&gt;Edited:&lt;br&gt; I didn't see Preben Alsholms answer.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;If you want the results as the third column in the excelsheet, you can do&lt;/p&gt;
&lt;pre&gt;Q := Import( "Test.xls",1, "A1:B20" );&lt;br&gt;f := (x,y) -&amp;gt; 2*x+y;&lt;br&gt;C := f~(Q[..,1],Q[..,2]);  # a short alternative for zip&lt;br&gt;Export( C, "Test.xls", 1, "C1" );&lt;/pre&gt;
&lt;p&gt;Edited:&lt;br&gt; I didn't see Preben Alsholms answer.&lt;/p&gt;</description>
      <guid>142281</guid>
      <pubDate>Mon, 14 Jan 2013 21:22:22 Z</pubDate>
      <itunes:author>Adri van der Meer</itunes:author>
      <author>Adri van der Meer</author>
    </item>
  </channel>
</rss>