wolframscience.com

A New Kind of Science: The NKS Forum : Powered by vBulletin version 2.3.0 A New Kind of Science: The NKS Forum > Pure NKS > Emulating Discrete Systems
  Last Thread   Next Thread
Author
Thread Post New Thread    Post A Reply
Lawrence J. Thaden


Registered: Jan 2004
Posts: 356

Emulating Discrete Systems

On page 1129 of the NKS book there is a discussion of the difficulty in emulating discrete systems with continuous systems.

Here is an example of a cellular automaton that uses the cosine function to emulate randomness similar to that in elementary rule 30.

The rule is: Cos[Apply[Plus, Flatten[ {neighborhood} ]]], where neighborhood is the cell and its left and right neighbors.

Initial conditions are the reals: Flatten[ { Table[ 0., {255} ], {1.}, Table[ 0., {255}]}].

Both elementary rule 30 and this cosine function are shown in the attached graphic.

Lawrence J. Thaden has attached this image:

__________________
L. J. Thaden

Report this post to a moderator | IP: Logged

Old Post 01-18-2006 04:05 PM
Lawrence J. Thaden is offline Click Here to See the Profile for Lawrence J. Thaden Click here to Send Lawrence J. Thaden a Private Message Click Here to Email Lawrence J. Thaden Edit/Delete Message Reply w/Quote
Jason Cawley
Wolfram Science Group
Phoenix, AZ USA

Registered: Aug 2003
Posts: 712

Just a Mathematica simplification - you can just use Cos[Total[#]]& of the neighborhood list you get from Paritition. You don't need to Flatten a first level list, and the Apply with Plus construction can be simplifed to Total.

Report this post to a moderator | IP: Logged

Old Post 01-18-2006 07:18 PM
Jason Cawley is offline Click Here to See the Profile for Jason Cawley Click here to Send Jason Cawley a Private Message Edit/Delete Message Reply w/Quote
Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread


 

wolframscience.com  |  wolfram atlas  |  NKS online  |  Wolfram|Alpha  |  Wolfram Science Summer School  |  web resources  |  contact us

Forum Sponsored by Wolfram Research

© 2004-14 Wolfram Research, Inc. | Powered by vBulletin 2.3.0 © 2000-2002 Jelsoft Enterprises, Ltd. | Disclaimer | Archives