My Math Forum Mathematica Table item number
 User Name Remember Me? Password

 Math Software Math Software - Mathematica, Matlab, Calculators, Graphing Software

 September 10th, 2011, 09:10 PM #1 Newbie   Joined: Mar 2011 Posts: 23 Thanks: 0 Mathematica Table item number I need to define some "Tables" in Mathematica, in which some elements contains their own item number, like the following example below (the letters are arbitrary numbers) : A := {a, b, 3 c, d} B := {1, b, c, 4} C := {a, b, c, 4, d, 6} D := {a, 2, c, d, 5, g} How can I do this ? I'm looking for something like M := {a, b, c, ItemNumber, d, e, ...}. I can't put the number myself by hand, since the Tables are generated by another Mathematica code. To be more precise (sorry for my bad English) : What I'm looking for is a way to make Mathematica tell what is the position of a given element in a table. For some elements, I want the element-position in the table to be printed, in the table itself. Say we have this Table : A := {123, 215, 456, 786} I need to change it to something ike this : A := {123, 2, 456, 4} The second and fourth elements were changed by their position-number in their table.

 Tags item, mathematica, number, table

### mathematica how to item to table

Click on a term to search for related topics.
 Thread Tools Display Modes Linear Mode

 Similar Threads Thread Thread Starter Forum Replies Last Post Back[Slash] Algebra 9 November 27th, 2013 07:15 PM mathLover Real Analysis 1 May 21st, 2013 10:14 AM MensInvictaManet Advanced Statistics 0 October 27th, 2011 07:55 AM MensInvictaManet Applied Math 1 October 26th, 2011 11:28 PM Cham Math Software 3 August 27th, 2011 06:30 PM

 Contact - Home - Forums - Cryptocurrency Forum - Top