Matlab 中的元胞自动机
我目前正在自学 matlab,我对元胞自动机很感兴趣,元胞自动机在 20 世纪 80 年代初的 Wolfram 的 Life1D 和 Conway 的 Game of Life 等旧程序中展示过。有没有可用的代码可以在 matlab 中以某种形式生成 Wolfram 的 Life1D?我在网上搜索过但没有找到任何东西。谢谢。
I'm currently self-teaching myself matlab, and I'm interested in cellular automata that was exhibited in old programs like Wolfram's Life1D and Conway's Game of Life from the early 1980s. Is there any available code that would produce Wolfram's Life1D in matlab in some form? I've searched online but have not found anything. Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
正如评论所指出的,MATLAB 文件交换是开始搜索的地方:
五分钟的探索已经给出了几个有希望的链接,其中第一个实现了 Life1d。
有关足够的详细信息,可以使您自己的 Life1d 实现可以查看:
最棘手的部分可能是有效地绘制结果。同样,MATLAB 文件交换将是寻找帮助器类的好地方。
As the comments have pointed out, the MATLAB file exchange is the place to start your search:
Five minutes of poking around already gives several promising links, the first of which implements Life1d.
For enough details to make your own Life1d implementation you can check out:
The trickiest part will probably be plotting the results efficiently. Again, the MATLAB file exchange would be a good place to look for helper classes.