Labfans是一个针对大学生、工程师和科研工作者的技术社区。 论坛首页 | 联系我们(Contact Us)
MATLAB爱好者论坛-LabFans.com
返回   MATLAB爱好者论坛-LabFans.com > 其它 > 资料存档 > MATLAB技术文章
MATLAB技术文章 MATLAB Technical Articles From Mathworks
 
 
主题工具 显示模式
旧 2021-04-24, 17:42   #1
poster
高级会员
 
注册日期: 2019-11-21
帖子: 3,006
声望力: 66
poster 正向着好的方向发展
默认 “Odd Rock” on Mars Exhibits (Almost) Magic Square - Cleve Moler on Mathematics and Computing


A news story released yesterday, March 31,by c|net has the headline

NASA Perseverance Mars rover investigates 'odd' rockMarkings etched into the rock attempt to describe a magic square. The discovery is a reminder of the Chinese legend of the Lo Shu square on the back of a turtle three thousand years ago.



The ancient Chinese Lo Shu is 3-by-3 and is generated in MATLAB by

LoShu = magic(3)LoShu = 8 1 6 3 5 7 4 9 2All the row sums, column sum and diagonal sums are 15.

However, the number grid on the Martian rock is only 2-by-2. For n = 2, MATLAB produces a similar array.

Mars = magic(2)Mars = 1 3 4 2The column sums are both 5, but the row sums and the diagonal sums do not cooperate.

Magic



...read more >>



More...
poster 当前离线   回复时引用此帖
 


发帖规则
不可以发表新主题
不可以发表回复
不可以上传附件
不可以编辑自己的帖子

启用 BB 代码
论坛启用 表情符号
论坛启用 [IMG] 代码
论坛启用 HTML 代码



所有时间均为北京时间。现在的时间是 03:00


Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.