MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: How to make Excel import symbolically


On 6/22/2012 2:05 AM, Matti wrote:

>
> When I use the Import command I get
>
> {{{aa, bb},{cc, dd}}}
>
> This is not an matrix, it's something else (I don't know what).
>
> 2. Can I transform the {{{...}}} to a {{...}}?
>

In[3]:= lis={{{aa,bb},{cc,dd}}};

Flatten[lis,1]

Out[4]= {{aa,bb},{cc,dd}}

or

In[5]:= lis[[1]]

Out[5]= {{aa,bb},{cc,dd}}


--Nasser



  • Prev by Date: LibraryLink & MinGW
  • Next by Date: Re: How to make Excel import symbolically
  • Previous by thread: Re: How to make Excel import symbolically
  • Next by thread: Re: How to make Excel import symbolically