applying loading from nodes

1 view (last 30 days)
ehsan Zahoor
ehsan Zahoor on 6 Mar 2017
Answered: KSSV on 7 Mar 2017
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 ???

Answers (1)

KSSV
KSSV on 7 Mar 2017
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

Categories

Find more on Variables in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!