CMatrix=adj_mat; BioGobj = biograph(CMatrix); % view(BGobj);
[Tree, pred] = minspantree(BioGobj);
MATLAB: I am using minspantree function of matlab.i need to convert tree output of this function to an array.output tree looks like as (1.2) 1….(3,4) 1….(5,8) 1…first digit in parentheis indicates destination node and second digit is source
biographbioinformatics
Best Answer