octave-maintainers
[Top][All Lists]
Advanced

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

fprintf compatibility


From: John W. Eaton
Subject: fprintf compatibility
Date: Tue, 31 Dec 2002 17:05:34 -0600

What do you think about this feature of Matlab?

  >> fprintf ('%s\n', [111; 100; 100]);
  odd

I know that Matlab (originally, anyway, though perhaps not anymore)
stores strings as double precision matrices with a flag set saying to
interpret the numbers as ASCII and print them as strings, etc.  But
the matrix here is not even tagged as a string!

So, should Octave copy this bug^H^H^Hfeature?

jwe



reply via email to

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