I'm encountering the following error when I run my main program.
1 view (last 30 days)
Show older comments
Index in position 2 exceeds array bounds. Index must not exceed 1440.
Error in topo_mask
data = topo(xmin:xmax, ymin:ymax);
^^^^^^^^^^^^^^^^^^^^^^^^^^
Error in Main_program
mask=topo_mask(main_path,area,rslt,mask_depth);
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
0 Comments
Accepted Answer
More Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!