Problem about proximity in matlab
    조회 수: 2 (최근 30일)
  
       이전 댓글 표시
    
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
  Image Analyst
      
      
 2012년 10월 27일
				Calling class() causes no conversion. It must have got converted some other way.
답변 (1개)
  Image Analyst
      
      
 2012년 10월 26일
        Somewhere along the way, you must have converted it to uint16, perhaps without realizing that you did so.
참고 항목
카테고리
				Help Center 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!