I am creating a function in matlab that takes in two lat/long coordinates (opposite corners of a rectangle) and returns information about data in the region.How do I group my inputs?e.g. [lat1,long1] and [lat2,long2]; or [lat1,lat2], [long1,long2].To make it easy on the user I currently have the lats and longs grouped together like the latter example, but am thinking the former is a bit more appropriate for science/math.
User Inputs: Bounding Box, best practice?
user interface;matlab