help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: cellular automata with animated visualization?


From: Jordi Gutiérrez Hermoso
Subject: Re: cellular automata with animated visualization?
Date: Wed, 19 Sep 2007 15:46:53 -0500

On 19/09/2007, James Haefner <address@hidden> wrote:
> Can anyone point me to octave code for 2D cellular automata with
> animation?
[snip]
> I know about "image()" but this does not do what I want.

How about imshow()?

    for i =1:10
        A = round(rand(10));
        imshow(A)
       pause(1)
    endfor

This generates what looks like amplified and slow-motion static snow
in Octave 2.9.13 with Gnuplot 4.2

- Jordi G. H.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]