??? Error using ==> mrdivide Matrix dimensions must agree. Error in ==> Slimer_v3 at 69 td = log(2)/u; % doubling time [d] Error in ==> Slimer_run at 37 results = Slimer_v3(solar_data, CO2_data, water_data, available_land, F, pond);
Ahh, Mr. Divide makes his long awaited return!
I should elaborate a bit. Back in undergrad we had a series of classes where we programmed projects in Matlab. The beauty of Matlab is that (1) you don’t really need to follow strict programming rules, and (2) that matrix operations are very easy to perform. For projects like ours (modeling a gas turbine cycle, or gear ratios) Matlab was a great tool. However, we weren’t very good programmers back then and would constantly bump into the mrdivide error, which basically means we were performing an incorrect matrix operation. Trying to divide something by something else that won’t work. Stuff like that. The error popped up so many times that we nicknamed it “Mr. Divide”. So instead or running into an annoying error every once in awhile, we were greeted by our good friend, just coming by to say, “Hey, you can’t divide those two matrices like that!”
I know it doesn’t sound that funny, but after hours of sitting in the LRC ( the old computer lab in the ME building - without windows!), jokes like this helped us keep our wits. So whenever Mr. Divide shows up, I think back to the good times working on projects with my friends.