Broadcasts parameters for evaluation on an N-D grid.
Given N one-dimensional coordinate arrays *args, returns a list outputs
of N-D coordinate arrays for evaluating expressions on an N-D grid.
Notes:
meshgrid supports cartesian ('xy') and matrix ('ij') indexing conventions.
When the indexing argument is set to 'xy' (the default), the broadcasting
instructions for the first two dimensions are swapped.
Examples:
Calling const [X, Y] = meshgrid(x, y) with the tensors
Broadcasts parameters for evaluation on an N-D grid.
Given N one-dimensional coordinate arrays
*args
, returns a listoutputs
of N-D coordinate arrays for evaluating expressions on an N-D grid.Notes:
meshgrid
supports cartesian ('xy') and matrix ('ij') indexing conventions. When theindexing
argument is set to 'xy' (the default), the broadcasting instructions for the first two dimensions are swapped. Examples: Callingconst [X, Y] = meshgrid(x, y)
with the tensors