Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

Re: Newbie question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25286] Re: Newbie question
  • From: Laurent CHUSSEAU <chusseau at univ-montp2.fr>
  • Date: Tue, 19 Sep 2000 03:45:11 -0400 (EDT)
  • References: <8q3dvc$kbb@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

dans l'article 8q3dvc$kbb at smc.vnet.net, Jose M Lasso à jml at accessinter.net a
écrit le 17/09/2000 23:44 :

> Hi Mathgroup,
> 
> I have some numerical data: data:={{x,y},{x1,y1},{x2,y2}....{xn,yn}},
> I want to transform the data like this:
> data1:={{x,1/y},{x1,1/y1},{x2,1/y2}....{xn,1/yn}}, how can I do this
> transformation? Thanx in advance. Regards
> 
> Jose M Lasso
> 
> 
{#[[1]],1/#[[2]]}&/@data
do what you want.

-- 
Laurent CHUSSEAU, CR CNRS, CEM2 UMR5507, Universite de Montpellier II




  • Prev by Date: Re: Newbie question
  • Next by Date: RE: powersum with a function with variable count of parameters
  • Previous by thread: Re: Newbie question
  • Next by thread: Re: Newbie question