Acceleration at the center of the triangle
1 次查看(过去 30 天)
显示 更早的评论
I am trying to calculate the acceleration at the node between the three points, photo attached. The points (1,2,3) measured accelerance via tri-axial acceleromter and now with the help of that info I want to calculate the acceleration at the center point. How can I proceed with this problem? Is there any function available to calculate the acceleration in matlab?
5 个评论
James Tursa
2022-5-16
编辑:James Tursa
2022-5-17
"... the sensors are not collecting data considering the gravity ..."
Not sure what this means. If your device is in contact with the ground then the sensors are certainly sensing the reaction force to gravity, even if the device is perfectly still on the ground. What do you mean "they are only capturing the motion"? Are you only considering the horizontal component of the acceleration? Or ...?
回答(1 个)
John D'Errico
2022-5-16
编辑:John D'Errico
2022-5-16
If you have some known parameter at the three corners of a triangle, then the best estimator of that parameter at the center of the triangle is the average of the three values. This assumes the relation varies linearly over the triangle, and since you provide no reason to assume anything else, that is the best possible estimator.
In fact, you you have some uncertainties in the three parameter estimates at the corners, the mean should also be the minimum variance estimator.
And that means your answer is simple, just take the mean. And that is trivial.
acc_center = (a1 + a2 + a3)/3;
There is no explicit "function" necessary. Just one line of code.
4 个评论
Torsten
2022-5-16
I think the center of gravity of the triangle is the center of the circumcircle - thus the distance to the three points is the same and we again are at John's formula.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!