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
显示 更早的评论
CMatrix=adj_mat;
BioGobj = biograph(CMatrix);
% view(BGobj);
[Tree, pred] = minspantree(BioGobj);
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Bioinformatics Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!