I'm trying to solve a Navier-Stokes setup in a cylindrical coordinate system and am bumping up against an array indexing challenge. Any help folks might be able to offer to straighten matters out would be most appreciated. I'm including my live editor content below.
MATLAB: Not spotting where/how index exceeds number of array elements
array elementsexceedsindex
Best Answer