討論串? operate only on selected nodes in MatLab
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
a = rand(3,1);. b = 0.0;. for n = 1:1:3. if a(n) >= 0.5. b = b+1.0;. end. end. The above could be implemented more efficiently in MatLab. as follows..
(還有375個字)
內容預覽:
b=size(find(a>=0.5),1). %May I suggest some basic reading like "getting started"?. %Just a thought.. > a = rand(3,2);. > b = 0.0;. > for m = 1:1:3. >
(還有201個字)
首頁
上一頁
1
下一頁
尾頁