view m-toolbox/classes/+utils/@helper/num2str.m @ 15:ce3fbb7ebe71
database-connection-manager
Remove broken functions from utils.jmysql
author
Daniele Nicolodi <nicolodi@science.unitn.it>
date
Mon, 05 Dec 2011 16:20:06 +0100 (2011-12-05)
parents
f0afece42f48
children
line source
+ − function str = num2str(number)
+ − % NUM2STR uses sprintf to convert a data vector to a string with a fixed precision.
+ − %
+ − %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ − %
+ − % DESCRIPTION: uses sprintf to convert a data vector to a string with a fixed precision.
+ − %
+ − % CALL: str = num2str(number);
+ − %
+ − % VERSION: $Id: num2str.m,v 1.1 2008/06/18 13:35:12 hewitson Exp $
+ − %
+ − % HISTORY: 18-10-2007 Hewitson
+ − % Creation
+ − %
+ − %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ −
+ −
+ − str = sprintf('%.17g ', number);
+ −