|
|
On Fri, 30 Sep 2005 10:03:06 -0400, nevine jacob wrote:
> Hi Dan,
>
> Thanks so much for the help. "format long g" works best for me. By
> the way, would it be possible to "control" the number of digits after
> the decimal point?
There was a recent thread about how to do this. In short, overload
@double/display.m. The thread gave specific examples of how to do this.
Alternately, use fprintf to control the display.
Dan
>
> Thanks,
> Nevine
>
> Dan Hensley wrote:
>>
>>
>> On Thu, 29 Sep 2005 17:39:04 -0400, nevine jacob wrote:
>>
>>> how do i convert a number string to a number with precision
> upto
>> 8
>>> decimal digits?
>>>
>>> the function, str2double only has precision upto 4 decimal
>> digits.
>>
>> What makes you think this?
>>
>> Try 'format long' and see if it makes any difference :).
>>
>> Dan
>>
>>
>>>
>>> any help would be greatly appreciated.
>>>
>>> thanks,
>>> nevine
>>
>>
|
|