If I want to create a section in matlab, where I watch its syntax in matlab
For example, I have a code in a document as follow.
% Sections=[SecID A ky kz Ixx Iyy Izz yt yb zt zb]
Sections= [1 b*h Inf Inf 0 0 b*h^3/12 h/2 h/2 b/2 b/2;
2 pi*r^2 NaN NaN NaN NaN NaN NaN NaN NaN NaN];
Thank you very much.

댓글 수: 4

Sergey Kasyanov
Sergey Kasyanov 2018년 3월 28일
What do you want to obtain?
Tran Hoa
Tran Hoa 2018년 3월 28일
I suppose it is a variable declaration in matlab
Walter Roberson
Walter Roberson 2018년 3월 28일
What you posted appears to be a valid assignment, provided that b and h and r have all been defined before this.
Tran Hoa
Tran Hoa 2018년 3월 28일
Exactly

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

 채택된 답변

Veera Kanmani
Veera Kanmani 2018년 3월 28일

0 개 추천

put like this before section
write like this to create a section
Sections=[SecID A ky kz Ixx Iyy Izz yt yb zt zb]
Sections= [1 b*h Inf Inf 0 0 b*h^3/12 h/2 h/2 b/2 b/2;
2 pi*r^2 NaN NaN NaN NaN NaN NaN NaN NaN NaN];

추가 답변 (0개)

카테고리

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

질문:

2018년 3월 28일

댓글:

2018년 3월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by