Skip to Main Content Skip to Search
Product Documentation

uint64 - Convert fi object to unsigned 64-bit integer

Syntax

c = uint64(a)

Description

c = uint64(a) returns the built-in uint64 value of fi object a, based on its real world value. If necessary, the data is rounded-to-nearest and saturated to fit into an uint64.

Examples

This example shows the uint64 values of a fi object.

a = fi([-pi 0.5 pi],0,64);
c = uint64(a)

c =

   0    1    3

See Also

int16 | int32 | int64 | int8 | storedInteger | uint16 | uint32 | uint8

  


Free Early Verification Kit

Learn how to apply early verification to your development process through these technical resources.

How much time do you spend on testing to ensure implementation meets system-level requirements?

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS