Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Replacing Values Close to One

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105265] Replacing Values Close to One
  • From: Gregory Lypny <gregory.lypny at videotron.ca>
  • Date: Wed, 25 Nov 2009 23:00:05 -0500 (EST)

Hello everyone,

Is there a replacement rule that I can apply to

	{-8, .7, 0, 1.003}  /.  [what goes here?] -> 1

to replace values that are close to 1, like 1.003, by 1?

Regards,

	Gregory




  • Prev by Date: Formal Concept Analysis
  • Next by Date: Mathematica Sorting Anti-Stable?
  • Previous by thread: Re: Formal Concept Analysis
  • Next by thread: Re: Replacing Values Close to One