octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #46770] num2str produces different results in


From: Rik
Subject: [Octave-bug-tracker] [bug #46770] num2str produces different results in Octave and in Matlab
Date: Tue, 29 Dec 2015 00:49:08 +0000
User-agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1)

Follow-up Comment #9, bug #46770 (project octave):

@Luis: I didn't mean to suggest that Matlab always uses a fixed width of 4. 
For the particular input given it used a width of 4.  This is somewhat
problematic.  It is fine, when no format is given, for a program to create
something reasonable as a default.  However, it is not good practice to
override the programmer's choice when it has been given.  It appears that
Matlab may be modifying the specified input format and giving it a field width
even though none was specified in the format given.

I fixed the difference between row/column concatenation for N-dimensional
arrays in this changeset
(http://hg.savannah.gnu.org/hgweb/octave/rev/b51078f07886).

Incidentally, you can enter code between verbatim tags to avoid having it
processed by the bug tracker and potentially modified.

There is a hyperlink (Rich Markup) which describes how to do it.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46770>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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