meshgrid                package:RTOMO                R Documentation

_C_r_e_a_t_e _a _m_e_s_h _g_r_i_d _l_i_k_e _i_n _M_a_t_l_a_b

_D_e_s_c_r_i_p_t_i_o_n:

     Creates 2D matrices for accessing images and 2D matrices

_U_s_a_g_e:

     meshgrid(a, b)

_A_r_g_u_m_e_n_t_s:

       a: x vector components

       b: y vector components

_D_e_t_a_i_l_s:

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

_V_a_l_u_e:

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

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

_A_u_t_h_o_r(_s):

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

_E_x_a_m_p_l_e_s:

     meshgrid(1:5, 1:3)

