Center of gravity optimization

4 次查看(过去 30 天)
Will
Will 2011-9-18
What would be the most efficient way to take in several weights, then have MATLAB optimize the position of each weight to meet a correct center of gravity?
  3 个评论
Will
Will 2011-9-18
Sorry I suppose that was too vague.
Lets say there is a plank of wood with negligible weight that has length x. I want the center of gravity to be located at x/2. The program would then optimize the locations of each weight to give the center of gravity as x/2.
Will
Will 2011-9-18
Also with my application, the weight could not be stacked.

请先登录,再进行评论。

回答(1 个)

Walter Roberson
Walter Roberson 2011-9-18
Is it required to use all weights? If not then put the lighter weight at the end of the plank, and put the heavier weight proportionally in at distance L2 = w1/w2 * x/2 from the center
  1 个评论
Will
Will 2011-9-18
It will be required to use all of the weights. I was just using the plank of wood as an example.
The real application is for determining the placement of boards into a stack of a CubeSat pico-satellite. The center of gravity of the satellite has to be within 2 cm of its geometric center. The boards already have their mass centered, so the only parameter to look at is the position of the boards in the stack.
I can do most of the basics of MATLAB, but had no clue where to start for doing an optimization like this.

请先登录,再进行评论。

类别

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

标签

Community Treasure Hunt

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

Start Hunting!

Translated by