メインコンテンツ

disp

    構文

    説明

    disp(T) は、ウェーブレット パケット ツリー T の内容を表示します。

    すべて折りたたむ

    ウェーブレット パケット ツリーを作成します。

    x = randn(1,1000);
    t = wpdec(x,3,"db2");

    インデックス 3 と 5 のノードをマージします。変更されたツリーをプロットします。

    t = nodejoin(t,3);
    t = nodejoin(t,5);
    fig = plot(t);

    Figure contains 2 axes objects and other objects of type uimenu. Axes object 1 with title Tree Decomposition contains 21 objects of type line, text. Axes object 2 with title data for node: 0 or (0,0). contains an object of type line.

    プログラムを使用して、[ノード ラベル] の選択項目を Depth_Position から Index に変更します。

    plot(t,"setNodeLabel",fig,"Index")

    Figure contains 2 axes objects and other objects of type uimenu. Axes object 1 with title Tree Decomposition contains 21 objects of type line, text. Axes object 2 with title data for node: 0 or (0,0). contains an object of type line.

    変更されたツリーの内容を表示します。

    disp(t)
     
    Wavelet Packet Object Structure
    ===============================
    Size of initial data :      [1  1000]
    Order                :      2
    Depth                :      3
    Terminal nodes       :      [3   9  10   5  13  14]
    ------------------------------------------------
    Wavelet Name               :db2
    Low Decomposition filter   :[-0.1294     0.2241     0.8365      0.483]
    High Decomposition filter  :[ -0.483     0.8365    -0.2241    -0.1294]
    Low Reconstruction filter  :[  0.483     0.8365     0.2241    -0.1294]
    High Reconstruction filter :[-0.1294    -0.2241     0.8365     -0.483]
    ------------------------------------------------
    Entropy Name               :shannon
    Entropy Parameter          :0
    ------------------------------------------------
     
    

    入力引数

    すべて折りたたむ

    ウェーブレット パケット ツリー。wptree オブジェクトとして指定します。

    例: T = wpdec(rand(1,1000),2,"db2")

    バージョン履歴

    R2006a より前に導入

    参考

    | | |