meshgrid {AtmRay} | R Documentation |
Creates 2D matrices for accessing images and 2D matrices
meshgrid(a, b)
a |
x vector components |
b |
y vector components |
returns outer product of x-compnents and y-components for use as index arrays
x |
length(y) by length(x) matrix of x indicies |
y |
length(y) by length(x) matrix of y indicies |
Jonathan M. Lees<jonathan.lees@unc.edu>
meshgrid(1:5, 1:3)