centroid2
Version 1.0.1 (1,58 KB) von
Kristupas Tikuišis
Calculate 2D centroid (center of mass) coordinates
Calculates 2D centroid (center of mass) X and Y coordinates of the 2D input matrix. The input array can be, ex., image acquired during an optics experiment, or it can be a mass distribution from a mechanical model.
Note: you can look at the centroid as a point about which no net rotational momentum owing to the 'weight' of the signal strenght at each data point would be experienced.
Zitieren als
Kristupas Tikuišis (2024). centroid2 (https://www.mathworks.com/matlabcentral/fileexchange/113245-centroid2), MATLAB Central File Exchange. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2020a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.1 | Updated description |
||
1.0.0 |