[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44684] num2str produces additional blank line
From: |
Rik |
Subject: |
[Octave-bug-tracker] [bug #44684] num2str produces additional blank lines |
Date: |
Wed, 01 Apr 2015 16:05:59 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0 |
Update of bug #44684 (project octave):
Priority: 5 - Normal => 3 - Low
_______________________________________________________
Follow-up Comment #2:
num2str is not very flexible, as it says itself in the help string. If you
have a more complicated format use sprintf().
% Produces additional blank line
num2str(c,'%3.8f %3.8f %3.8f \n')
but
sprintf ('%3.8f %3.8f %3.8f \n', c)
works for me.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44684>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/