Main Content

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

treeord

ツリーの次数

構文

ORD = treeord(T)

説明

treeord はツリー管理ユーティリティです。

ORD = treeord(T) はツリー T の次数 ORD を返します。

% Create binary tree (tree of order 2) of depth 3. 
t = ntree(2,3);

% Plot tree t. 
plot(t)

% Tree order. 
treeord(t)

ans =
    2

バージョン履歴

R2006a より前に導入

参考