Services & Resources / Wolfram Forums
MathGroup Archive
*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
  • Subject: [mg25310] Re: [mg25275] Newbie question
  • From: Tomas Garza <tgarza01 at>
  • Date: Tue, 19 Sep 2000 03:45:37 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

data := {{x, y}, {x1, y1}, {x2, y2}}
data /. {a_, b_} -> {a, 1/b}
({{x, 1/y}, {x1, 1/y1}, {x2, 1/y2}}

Tomas Garza
Mexico City

"Jose M Lasso" <jml at> wrote:

> I have some numerical data: 
> 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?

  • Prev by Date: Re: Newbie question
  • Next by Date: bug alert!
  • Previous by thread: Re: Newbie question
  • Next by thread: Re: Newbie question