[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]
On 26/07/17 12:25, Joseph Bennie wrote:
On 26 Jul 2017, at 12:06, M. J. Everitt <m.j.everitt@xxxxxxx> wrote: On 26/07/17 12:03, Tom via list wrote:On 26/07/17 09:34, jah wrote:On 25/07/17 20:55, Tom via list wrote:[vec, val] = eig(L, 'vector'); error: eig: wrong type argument 'sq_string'"One additional complication of strings in Octave is the difference between single quoted and double quoted strings." [1] It looks like 'vector' should be "vector" [2]. [1]: https://www.gnu.org/software/octave/doc/interpreter/Character-Strings-in-Oct_002dFiles.html [2]: https://octave.sourceforge.io/octave/function/eig.htmlTried that and IIRC got [vec, val] = eig(L, "vector"); error: eig: wrong type argument 'string' Tom te tom te tom"Check your Vector, Victorâ"Noticed the order of the array args might be confusing, have youâve got them the wrong way around, thus accessing the wrong cell ...thus type, in the array? â total guess. Jay-- The Mailing List for the Devon & Cornwall LUG https://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq
The code works fine under Matlab and I'd like to think it wouldnt be different from Octave - perhaps this just hasn't been tried before. Trying to register a bug on GNU.
Tom te tom te tom -- The Mailing List for the Devon & Cornwall LUG https://mailman.dclug.org.uk/listinfo/list FAQ: http://www.dcglug.org.uk/listfaq