Problem about proximity in matlab
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Hi, all,
I defined an array like S=ones(N,x,'uint32'). And I give values to all of them. However I find out the maximum value is 65535 which is 2^16 not 2^32.
I tried 'uint64' but the limit is still 65535, why is that?
Thanks.
4 commentaires
Image Analyst
le 27 Oct 2012
Calling class() causes no conversion. It must have got converted some other way.
Réponses (1)
Image Analyst
le 26 Oct 2012
Somewhere along the way, you must have converted it to uint16, perhaps without realizing that you did so.
4 commentaires
Voir également
Catégories
En savoir plus sur Data Type Conversion dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!