If I execute the following commands:
dummy = zeros( 1024, 'single' ) + 200;mean(dummy(:))
I receive the following result:
ans = 197.1200
But I expected to receive:
ans = 200
classlargeMATLABmatrixmeanprecisionsinglestd
dummy = zeros( 1024, 'single' ) + 200;mean(dummy(:))
ans = 197.1200
ans = 200
Best Answer