フィルターのクリア

How to define a I section,T section and square sections in MATLAB and calculate their centroid and moment of Inertia??

3 ビュー (過去 30 日間)
The user should input how to give the section and for that calculate we must write a code to calculate the Centroid and Moment of Inertia.
  2 件のコメント
Walter Roberson
Walter Roberson 2015 年 9 月 15 日
What information is the user to be asked to provide?
Narendra Pyla
Narendra Pyla 2015 年 9 月 15 日
Means that the user must define different types of section( like I section, T section circular and elliptical ),so how to input those sections and calculate centroid and moment of inertia for those.

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

回答 (1 件)

Luc Rébillout
Luc Rébillout 2015 年 9 月 15 日
編集済み: Luc Rébillout 2015 年 9 月 15 日
I guess you'd have to provide the [x,y] array of vertices of your shape and then create a matrix out of it which is 1 inside and 0 outside (you can use inpolygon)
Then you can use the regionprops function which can provide a lot information such as the Centroid.
By moment of inertia I guess you mean the second moment of area. Here's the formula for a given polygon.
  1 件のコメント
Narendra Pyla
Narendra Pyla 2015 年 9 月 16 日
I didnt get how to use regionprops , can someone say a simple code for a rectangular section to find centroid ?

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

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by