Effacer les filtres
Effacer les filtres

How to create section in matlab

11 vues (au cours des 30 derniers jours)
Tran Hoa
Tran Hoa le 28 Mar 2018
Commenté : Tran Hoa le 28 Mar 2018
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 commentaires
Walter Roberson
Walter Roberson le 28 Mar 2018
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 le 28 Mar 2018
Exactly

Connectez-vous pour commenter.

Réponse acceptée

Veera Kanmani
Veera Kanmani le 28 Mar 2018
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];

Plus de réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by