how can I convert units to SI Units

3 次查看(过去 30 天)
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

回答(1 个)

Can Atalay
Can Atalay 2021-10-17
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)]

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by