D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Octave/Matlab difference

 

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.html




Tried that and IIRC got

[vec, val] = eig(L, "vector"); error: eig: wrong type argument 'string'
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