I currently have a bathymetric grid that is 1504 m x 1217 m, with a matrix size of 356x583. This means the grid cell size is roughly 2.58 x 3.42 and is therefore slightly rectangular.
I would like to create a grid that is a square 3 x 3 resolution to cover this domain, which will be a 405 x 501 matrix (1215m x 1503m), and interpolate the values of the old matrix into the new one. I have heard that I can use interp2, or griddata to do this, but I'm not 100% sure where to start. Could someone give me a couplke of pointers to get me on the way to achieving this?
Thanks!