Hi all
How to remove how to remove zeros at last
See the pic attached
Regards
Arul
how to remove zeros at last [1 Attachment]
Started by ●August 16, 2010
Reply by ●August 17, 20102010-08-17
hi,
from what i understand the internal storage of numbers in matlab is
double precision float, and the display you're seeing is just the
defualt display.
if you want to display the number without zeros check out sprintf
with the %g option,
also check out single() to convert to single precision float,
On 10/08/2010, at 6:22 PM, arul dsp wrote:
> [Attachment(s) from arul dsp included below]
> Hi all
>
> How to remove how to remove zeros at last
>
> See the pic attached
>
> Regards
> Arul
from what i understand the internal storage of numbers in matlab is
double precision float, and the display you're seeing is just the
defualt display.
if you want to display the number without zeros check out sprintf
with the %g option,
also check out single() to convert to single precision float,
On 10/08/2010, at 6:22 PM, arul dsp wrote:
> [Attachment(s) from arul dsp included below]
> Hi all
>
> How to remove how to remove zeros at last
>
> See the pic attached
>
> Regards
> Arul