MATLAB: Converting uint8 array into 32-bit

convertuint32uint8

I have a 1280×960 uint8 array that I would like to convert into uint32. Any suggestions?
Thanks!

Best Answer

uint32(YourArray)
Are you also wanting to scale the values so that 255 in uint8 becomes a large value in uint32? If so then
uint32(YourArray) .* uint32(2^24)