Re: genetic algorithms
- To: mathgroup at smc.vnet.net
- Subject: [mg92646] Re: genetic algorithms
- From: Bill Rowe <readnews at sbcglobal.net>
- Date: Thu, 9 Oct 2008 06:37:17 -0400 (EDT)
On 10/8/08 at 6:26 AM, temelt at xs4all.nl (Tugrul Temel) wrote: >With the following command I am able to create a table with (10 >rows, 4 columns). I want to export this table in the same format to >an Excel worksheet to do some more calculations. I need some help. >Print[ TableForm[postDist, TableHeadings -> {{}, {"Variable", >"Post-mean", "Post-se"}}] ]; Frankly, I don't know why you would want to move any thing to Excel to do further computations. The only reason I ever have to move stuff from Mathematica to Excel is to make that stuff available to someone who has Excel but not Mathematica. However, to create an Excel worksheet with your table and headings, use Export. That is: Export["filename.xls", Join[{{"Variable","Post-mean", "Post-se"}}, postDist], "XLS"] will create the desired Excel file