model of a point in the space

2 ビュー (過去 30 日間)
Davy Marinier
Davy Marinier 2015 年 7 月 30 日
コメント済み: Sebastian Castro 2015 年 7 月 31 日
Hello, With Simulink, how can I modelize a point in the space and get back (in outputs of the block), the 3 coordinates, x, y, z of this point. Thanks for answers

採用された回答

Sebastian Castro
Sebastian Castro 2015 年 7 月 30 日
編集済み: Sebastian Castro 2015 年 7 月 30 日
I would start with good old Newton's 2nd Law: F = m*a
For each coordinate (X, Y, and Z), you can implement this relationship with two Integrator blocks; one that integrates from acceleration to speed, and one right after it which integrates from speed to position.
What you put into the input (the forces, or the "F" part) is up to you.
For reference, I would start by looking at the Bouncing Ball example for a few different ways you can model the 1-D system. Then, you can extend that to 3-D.
- Sebastian
  3 件のコメント
Davy Marinier
Davy Marinier 2015 年 7 月 30 日
Thanks a lot one more time ! (please excuse my horrible English) I think I have understood this very interesting study. But it concerns the "z" axis, and, how does it works for the "x" and "y" axis, because in these case, the gravity is not at 90°
Sebastian Castro
Sebastian Castro 2015 年 7 月 31 日
Well, the gravity could be replaced with any other forces... whether they be zero, or components (sine-cosine) of gravity, or anything else. The left side of the first integrator is the sum of all input forces to the system.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeModeling についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by