Center of gravity optimization

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

Fangjun Jiang
Fangjun Jiang 2011년 9월 18일
Your question is vague. If I tell you that I have 4 weights, 4lbs, 3lbs, 2lbs and 1lbs, can you tell me where is the CG?
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일

0 개 추천

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.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터 및 File Exchange에서 Reference Applications에 대해 자세히 알아보기

태그

질문:

2011년 9월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by