Coordinate-Element Number Conversion

Version 1.0.0.0 (983 Bytes) von Aman Siddiqi
Converts row, column, dimension to element number & vice versa
1,2K Downloads
Aktualisiert 13. Apr 2005

Keine Lizenz

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.

Zitieren als

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

Kompatibilität der MATLAB-Version
Erstellt mit R13
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Numeric Types finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0

small change