meshgrid: Create a mesh grid like in Matlab

Description Usage Arguments Details Value Author(s) Examples

Description

Creates 2D matrices for accessing images and 2D matrices

Usage

1
meshgrid(a, b)

Arguments

a

x vector components

b

y vector components

Details

returns outer product of x-compnents and y-components for use as index arrays

Value

x

length(y) by length(x) matrix of x indicies

y

length(y) by length(x) matrix of y indicies

Author(s)

Jonathan M. Lees<jonathan.lees@unc.edu>

Examples

1
meshgrid(1:5, 1:3)

AtmRay documentation built on May 2, 2019, 6:52 a.m.

Related to meshgrid in AtmRay...