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

Re: 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: [mg50674] Re: [mg50648] need to call data from a list as input but need it in vector form not list form
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Wed, 15 Sep 2004 07:55:03 -0400 (EDT)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Use Flatten

Bob Hanlon

> 
> From: monster_economist at punkass.com (T.)
To: mathgroup at smc.vnet.net
> Date: 2004/09/15 Wed AM 01:50:17 EDT
> To: mathgroup at smc.vnet.net
> Subject: [mg50674] [mg50648]  need to call data from a list as input but need it in 
vector form not list form
> 
> 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: Re: need to call data from a list as input but need it in vector form not list form
  • Next by Date: Re: MathML and WebMathematica
  • Previous by thread: Re: need to call data from a list as input but need it in vector form not list form
  • Next by thread: Re: Technical Publishing Made Easy with New Wolfram Publicon Software