DSPRelated.com
Forums

how to remove zeros at last [1 Attachment]

Started by arul dsp August 16, 2010
Hi all

How to remove how to remove zeros at last

See the pic attached

Regards
Arul
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