Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2004
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

need to call data from a list as input but need it in vector form not list form

  • To: mathgroup at smc.vnet.net
  • Subject: [mg50648] need to call data from a list as input but need it in vector form not list form
  • From: monster_economist at punkass.com (T.)
  • Date: Wed, 15 Sep 2004 01:50:17 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Suppose I have just generated a list named "list" and the output is as
follows.
 
{{0.161299}, {0.122965}, {0.055712}, {0.0448334}, {-0.00538706}}
 
I want to use this data in the form 
 
{0.161299, 0.122965, 0.055712, 0.0448334, -0.00538706}
 
however i can't call it in with list[[i]] because I just get the
{{},{},{},{}} form with those extra brackets.  I guess I have a list
and I am trying to convert it to a vector form right?  Sorry if my
definitions are confused.

T.


  • Prev by Date: Problems using variables in an IF command
  • Next by Date: Re: Simplify[ {Re[Sqrt[-1 + eta^2]], Im[Sqrt[-1 + eta^2]]}, eta<1]
  • Previous by thread: Re: Problems using variables in an IF command
  • Next by thread: Re: need to call data from a list as input but need it in vector form not list form