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
2017-3-7
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 Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!