How to define a I section,T section and square sections in MATLAB and calculate their centroid and moment of Inertia??
이전 댓글 표시
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
2015년 9월 15일
What information is the user to be asked to provide?
Narendra Pyla
2015년 9월 15일
답변 (1개)
Luc Rébillout
2015년 9월 15일
편집: Luc Rébillout
2015년 9월 15일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Inertias and Loads에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!