[Top][All Lists]

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

Save a 1x1 matrix

From: PaoloPiace
Subject: Save a 1x1 matrix
Date: Mon, 2 Aug 2010 11:27:24 -0700 (PDT)

I'm dealing with a variable S(1:N), i.e. a matrix of real numbers that varies
its size (N) down to 1.

When saving S on file with "save" I need it to be saved as matrix 1xN,
regardless N.

Hence, when N = 1, I need S(1,1) to be saved on file as matrix 1x1 and not
as scalar.

How can I do that?

View this message in context:
Sent from the Octave - General mailing list archive at

reply via email to

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