Coordinate-Element Number Conversion

版本 1.0.0.0 (983 字节) 作者: Aman Siddiqi
Converts row, column, dimension to element number & vice versa
1.2K 次下载
更新时间 2005/4/13

无许可证

coordinate2element_num: Converts row, column & dimension to the element number for the matrix. So row 2, column 3 of a 10X10 is 22.
element_num2coordinate: converts element number 22 of a 10X10 to [2,3]. I only wrote them for up to 3 dimensions. Some one could expand them if they want to.

引用格式

Aman Siddiqi (2024). Coordinate-Element Number Conversion (https://www.mathworks.com/matlabcentral/fileexchange/7377-coordinate-element-number-conversion), MATLAB Central File Exchange. 检索来源 .

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

Community Treasure Hunt

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

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

small change