MathGroup Archive 2009

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

Search the Archive

second simple problem

Dear sirs:
I have the following list:
I want to replace the M's in the following way: the first M by 5, and the second by2.
Thus I have a replacement list
The problem is to get ={1,5,7,4,5,6,7,8,9,1,2,3}
How can I do this in the most general form (for any length of ex and any number of values of "M")?

  • Prev by Date: Re: two graph problems in Adjacency types
  • Next by Date: Palette Management
  • Previous by thread: Re: Dsolve matrix
  • Next by thread: Re: second simple problem