Filter löschen
Filter löschen

Get value only in matlab

1 Ansicht (letzte 30 Tage)
Kian
Kian am 10 Aug. 2015
Beantwortet: Star Strider am 10 Aug. 2015
Anyway to get the value of uint64 integer only. In other words, if 12345 is a uint64 integer, how to convert it to double while the value of the double remains 12345. Something similar to Excel's paste value only.

Antworten (1)

Star Strider
Star Strider am 10 Aug. 2015
Unless I missed something in your Question, this is straightforward:
x = uint64(12345)
xd = double(x)
x =
12345
xd =
12345

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by