how can I convert units to SI Units
4 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Matlab Users,
I have data given in Accelerometer (0.001 g) Force-sensor (grams) Depth (0.01 mm), i need to convert this to its SI units like for force in Newton and for depth in Meters, from this given matrix.
Accelerometer (0.001 g) Force-sensor (grams) Depth (0.01 mm)
986 120 0
981 -60 0
984 -60 0
986 -70 0
993 -70 0
997 -70 0
1000 -70 0
1005 -70 0
1005 -70 0
1000 -70 0
994 -60 0
992 -60 0
991 -80 0
0 commentaires
Réponses (1)
Can Atalay
le 17 Oct 2021
Say you have the values;
matrix_of_interest = [986 120 0; 981 -60 0; 984 -60 0]
You need to multiply grams with 1/1000 to get kg (SI) , mm with 1/1000 to get m (SI). You can't convert grams to force, they are different units. But, if gravitational acceleration is say 9.81 m/s^2, 1g would mean 9.81/1000 Newtons of force acting on that one gram mass. You probably already knew these. To get the converted matrix, you need to multiply the elements of your inital matrix with these conversion factors element-wise (see https://www.mathworks.com/help/matlab/ref/times.html)
format long
converted_values = matrix_of_interest.*[(1/1000)*(0.001) 9.81/1000 (1/1000)*(0.01)]
0 commentaires
Voir également
Catégories
En savoir plus sur Logical dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!