/span>
0016 
0017 
0018 <span class="comment">%% bin_tree struct</span>
0019 <span class="comment">%% allow -&gt; 1/0: split was successful/failed</span>
0020 <span class="comment">%% cost  -&gt; figure of merit at current tree</span>
0021 <span class="comment">%% points: indexes of starting and ending points</span>
0022 
0023 <span class="keyword">if</span> length(c_x)&lt;3,
0024     <span class="comment">%% if the tree is too short, stop</span>
0025     bin_tree.allow = 0;
0026     bin_tree.merit = .1;
00