[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?
Thanks!
--
View this message in context:
http://octave.1599824.n4.nabble.com/Save-a-1x1-matrix-tp2310727p2310727.html
Sent from the Octave - General mailing list archive at Nabble.com.
- Save a 1x1 matrix,
PaoloPiace <=