矩阵和魔方 |
在MATLAB中,一个矩阵是一个长方形的数字阵列。特殊含义是有时附加到1*1矩阵,其是标量。而矩阵仅仅一行或一列,其是向量。MATLAB已经有其他方法聚集双数和非数数据,但是起初,它通常作为矩阵去思考每一件事情。在MATLAB中的操作是设计。和同时期其他设计语言工作相比,MATLAB允许你快速和简单的输入矩阵。一个很好的示例矩阵,在这本书的自始至终都在使用,通过德国艺术家和爱好者数学家Albrecht Dürer应用文艺复兴时期的版画《Melencolia I》。
这个图片充满了数学符号,并且如果你仔细寻找,你将会在右上角看见一个矩阵。这个矩阵是一个魔方矩阵并且在Dürer's时期中许多被确认真实的神奇的特性。经过探索它原来有些迷人的特性价值。
|
相关图片下载在贴出,这次没有把图片拷贝出来。
Matrices and Magic Squares
In MATLAB, a matrix is a rectangular array of numbers. Special meaning is sometimes attached to 1-by-1 matrices, which are scalars, and to matrices with only one row or column, which are vectors. MATLAB has other ways of storing both numeric and nonnumeric data, but in the beginning, it is usually best to think of everything as a matrix. The operations in MATLAB are designed to be as natural as possible. Where other programming languages work with numbers one at a time, MATLAB allows you to work with entire matrices quickly and easily. A good example matrix, used throughout this book, appears in the Renaissance engraving Melencolia I by the German artist and amateur mathematician Albrecht Dürer.
This image is filled with mathematical symbolism, and if you look carefully, you will see a matrix in the upper right corner. This matrix is known as a magic square and was believed by many in Dürer's time to have genuinely magical properties. It does turn out to have some fascinating characteristics worth exploring.