CART2IND

版本 1.0.0.0 (1.7 KB) 作者: Ian Howat
Find the index value of cartesian coordinates within a grid.
1.8K 次下载
更新时间 2007/7/10

查看许可证

CART2IND Find the index value of cartesian coordinates within a grid.
IND = CART2IND[x,y,X,Y] finds the nearest column-wise index value of
cartesian coordinates x and y within the grids defined by X and Y.

-If x and y are vectors of the same length, one index value will be returned
per x y pair.

-X and Y can either be vectors specifying the column and
row coordinates of the grid or coordinate arrays such as produced by
MESHGRID.

-X and Y should be in xy orientation, with X in ascending and
Y in descending order along the vector.

-x,y coordinates that are off the X,Y grid will be returned as NaN.

引用格式

Ian Howat (2024). CART2IND (https://www.mathworks.com/matlabcentral/fileexchange/15536-cart2ind), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2006a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Matrices and Arrays 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0