Hi, new to this forum and quite the novice at MatLab. Anyway, I am trying to analyze the RGB of images. I made some quick code to look at three squares of one image, taking the sum of each RGB. However, the matrix results are always 255. I read that in MatLab I don't have to declare variable types, but something isn't right; the numbers should be much larger. Here's the code:
h=[700, 1020, 1450];
So looking at 50x50 grids. Any ideas? Thanks.