From: Johnson on 8 Jun 2010 20:03 I think by default MATLAB can support maximum 15 significant digits (Version 7.2.6). However, I need more digits for scientific computation. So what is the best (or easiest) way to increase the significant digits of a number at MATLAB? I tried digits function in the command window, and I got the following error: >> digits(18) ??? Undefined function or method 'digits' for input arguments of type 'double'. Thank you. John --- news://freenews.netfront.net/ - complaints: news(a)netfront.net ---
From: Steven Lord on 8 Jun 2010 22:13 "Johnson" <gpsabove(a)yahoo.com> wrote in message news:humlo0$2pmi$1(a)adenine.netfront.net... >I think by default MATLAB can support maximum 15 significant digits >(Version 7.2.6). The default data type in MATLAB is IEEE double-precision floating point. > However, I need more digits for scientific computation. So what is the > best (or easiest) way to increase the significant digits of a number at > MATLAB? Use Symbolic Math Toolbox. > I tried digits function in the command window, and I got the following > error: > >> digits(18) > ??? Undefined function or method 'digits' for input arguments of type > 'double'. That would indicate you don't have Symbolic Math Toolbox installed or don't have a license for this toolbox available. -- Steve Lord slord(a)mathworks.com comp.soft-sys.matlab (CSSM) FAQ: http://matlabwiki.mathworks.com/MATLAB_FAQ To contact Technical Support use the Contact Us link on http://www.mathworks.com
From: Walter Roberson on 9 Jun 2010 01:10 Steven Lord wrote: > "Johnson" <gpsabove(a)yahoo.com> wrote in message > news:humlo0$2pmi$1(a)adenine.netfront.net... >> I think by default MATLAB can support maximum 15 significant digits >> (Version 7.2.6). > > The default data type in MATLAB is IEEE double-precision floating point. > >> However, I need more digits for scientific computation. So what is the >> best (or easiest) way to increase the significant digits of a number at >> MATLAB? > > Use Symbolic Math Toolbox. Right. Or the indefinite precision toolkit that is in the Matlab File Exchange.
|
Pages: 1 Prev: Modelling induction motor using s-function Next: Defining New Value for a Matrix |