Re: Newbie question
- To: mathgroup at smc.vnet.net
- Subject: [mg25295] Re: Newbie question
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Tue, 19 Sep 2000 03:45:17 -0400 (EDT)
- Organization: Universitaet Leipzig
- References: <8q3dvc$kbb@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hmm, data /. {x_?NumericQ,y_?NumericQ}:> {x,1/y} ? transform[{x_,y_}]:={x,1/y} transform /@ data ?? {#[[1]],1/[[2]]} & /@ data ??? Regards Jens Jose M Lasso wrote: > > 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