Borrar filtros
Borrar filtros

how can I convert units to SI Units

3 visualizaciones (últimos 30 días)
Manav Divekar
Manav Divekar el 17 de Oct. de 2021
Respondida: Can Atalay el 17 de Oct. de 2021
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

Respuestas (1)

Can Atalay
Can Atalay el 17 de Oct. de 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)]

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by