Clear Filters
Clear Filters

Center of gravity optimization

4 views (last 30 days)
Will
Will on 18 Sep 2011
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 Comments
Will
Will on 18 Sep 2011
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 on 18 Sep 2011
Also with my application, the weight could not be stacked.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 18 Sep 2011
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 Comment
Will
Will on 18 Sep 2011
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.

Sign in to comment.

Categories

Find more on Reference Applications in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!