applying loading from nodes

Hi can someone please tell me how i can apply loading which is called load in my programme from node 1 to node 10 then from node 11 to node 16 and.
would it be load=1:10 then load=11:16 ???

回答 (1 件)

KSSV
KSSV 2017 年 3 月 7 日

0 投票

nnode = 16 ; % number of nodes
load = zeros(nnode,1) ;
load(1:10) = 2 ; % assign your given load
load(11:end) = 4 ; % assign your given load

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

質問済み:

2017 年 3 月 6 日

回答済み:

2017 年 3 月 7 日

Community Treasure Hunt

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

Start Hunting!

Translated by