I set the dimensions of the arrays at 91,91 because those were the largest values that appear in your sample data. If you actually have larger values, you have to increase the array dimensions accordingly. There is no substitute for knowing what is in your data. If you are doing homework on arrays, there is no substitute for learning how arrays work. You took a good first step by finding and posting the error message. Next step: understand what the error message means.
... View more