User:Snooferfloosh

From Octave
Jump to navigation Jump to search

Front page for tips-n-tricks that I've found useful...



Creating cell arrays requires comma separation. The following code generates a syntax error:

a = {'hi' 'there' 34;'doc' 'bye' {'now' 'harold'}}

but changing it to:

a = {'hi', 'there', 34;'doc', 'bye', {'now', 'harold'}}

works.