|
From: | Nicholas Jankowski |
Subject: | Re: Matlab test for magic requested |
Date: | Sun, 13 Dec 2015 22:52:52 -0500 |
On 12.12.2015 22:12, Andreas Weber wrote:
Hi Richard, thank you very much.
Am 12.12.2015 um 19:50 schrieb Richard Balogh:
magic (1.5)
ans =
1
Oh, this wasn't expected. Can you try other non integer values? For
example magic(2.1), magic(2.8), can you see a system?
magic(2.1)
ans =
1 3
4 2
>> magic(2.8)
ans =
1 3
4 2
n
less than 3
, magic
returns
either a nonmagic square, or else the degenerate magic squares 1
and []
."[Prev in Thread] | Current Thread | [Next in Thread] |