Randomness of magic function
古いコメントを表示
Hi
I'm a bit of a newbie.
I executed the following lines in the console.
a = magic(100)
x = a(37,:)
y = a(81,:)
plot(x, y, 'go', 'LineWidth', 2, 'MarkerFaceColor', 'r', 'MarkerSize', 6)
And here is the plot.

What's with the clustering at the top-left and bottom-right, and the linear nature within those clusters? It's not a problem, just trying to understand how the randomness of the "magic" function works.
Thanks.
採用された回答
その他の回答 (1 件)
カテゴリ
ヘルプ センター および File Exchange で Creating and Concatenating Matrices についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!