help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matlab test for magic requested


From: Richard Balogh
Subject: Re: Matlab test for magic requested
Date: Sat, 12 Dec 2015 19:50:54 +0100
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

With pleasure:


magic ()
{Error using <a href="matlab:matlab.internal.language.introspective.errorDocCallback('magic', 'C:\Program Files\MATLAB\R2015a\toolbox\matlab\elmat\magic.m', 9)" style="font-weight:bold">magic</a> (<a href="matlab: opentoline('C:\Program Files\MATLAB\R2015a\toolbox\matlab\elmat\magic.m',9,0)">line 9</a>)
Not enough input arguments.
}


magic (1, 2)
{Error using <a href="matlab:matlab.internal.language.introspective.errorDocCallback('magic')" 
style="font-weight:bold">magic</a>
Too many input arguments.
}

magic (1.5)

ans =

     1


magic (-1)

ans =

     []

magic (0)

ans =

     []

magic (1)

ans =

     1


magic (2)

ans =

     1     3
     4     2

magic (3)

ans =

     8     1     6
     3     5     7
     4     9     2

diary off


On 12.12.2015 19:00, Andreas Weber wrote:
Dear users, can someone with access to matlab run

magic ()
magic (1, 2)
magic (1.5)
magic (-1)
magic (0)
magic (1)
magic (2)
magic (3)

for me and add the result? Thank in advance, Andy

_______________________________________________
Help-octave mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/help-octave





reply via email to

[Prev in Thread] Current Thread [Next in Thread]