Giter Site home page Giter Site logo

ca's Introduction

CA

Cellular automata in Matlab

This repository contains generic Matlab source code supporting cellular automaton simulations in Matlab.To get started, download and unzip the file, launch Matlab, change to the directory where you put the repository the file, and type

  >> help ca

For an example application, the life subdirectory contains code for implementing Conway's Game of Life on an initially empty grid. You can copy all the code into a single directory, or use Matlab's path-adding capability to work from either directory. You can create and edit forms by left- and right-clicking, and then watch them move and interact.



I originally developed this software for a computational modeling course, to help students do the cellular automata projects (spread of fire and movement of ants) from the excellent Introduction to Computational Science textbook by Angela and George Shiflet. The students wrote the initialization and update functions, and I provided the generic code and display function. This approach allows students with little or no programming experience to use a powerful, industry-standard tool like Matlab to solve an interesting problem at an appropriate level of abstraction (one line of code per CA rule). Because each instruction operates on the entire grid at once, the approach is supports the recent move toward parallel thinking at the introductory level.

Please contact me with any questions or suggestions.

ca's People

Contributors

simondlevy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.