求助:添加高斯噪声时出现的错误
我在matlab6.5中运行:xzs=uint8(X+uint8(intensity2*randn(size(X))));
出现错误提示:
??? Error using ==> +
Function '+' is not defined for values of class 'uint8'.
Error in ==> C:\MATLAB6p5\work\add_noise.m
On line 25==> xzs=uint8(X+uint8(intensity2*randn(size(X))));
请问:如何修改?
页:
[1]