help-octave
[Top][All Lists]
Advanced

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

Re: Knight's tour


From: Doug Stewart
Subject: Re: Knight's tour
Date: Sat, 9 Feb 2019 23:06:49 -0500



On Wed, Feb 6, 2019 at 1:56 PM SimonAllen <address@hidden> wrote:
I am very new to Matlab and I am using Octave.  I am trying to get the Matlab
code that is is at https://oeis.org/A316667 to run.  It follows on from a
Numberphle video on Knight's tour.  I have already discovered that Matlab
paths do not like upper case or spaces in paths and filenames and I have
fixed that but in line 52 of the code there is this command

      xy2num = @(x,y) SpiralNumbering(x,y);

It is not referenced anywhere else.

Octave gives this error

error: 'spiralnumbering' undefined near line 52 column 25
error: called from
    knightstour>@<anonymous> at line 52 column 25
    knightstour at line 78 column 19
>>
I am at the moment baffled.  Can anyone throw any light on this?


Did you get this to work yet?
I might be able to help you.

 

--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html




--
DASCertificate for 206392


reply via email to

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