powered by
Creates 2D matrices for accessing images and 2D matrices
meshgrid(a, b)
length(y) by length(x) matrix of x indicies
length(y) by length(x) matrix of y indicies
x vector components
y vector components
Jonathan M. Lees<jonathan.lees@unc.edu>
returns outer product of x-compnents and y-components for use as index arrays
meshgrid(1:5, 1:3)
Run the code above in your browser using DataLab