Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
defaninf.m
Package: wavelet_toolbox.rar [view]
Upload User: haiyisale
Upload Date: 2013-01-09
Package Size: 3246k
Code Size: 1k
Category:
Wavelet
Development Platform:
Matlab
- function info = defaninf(t,nodes,data)
- %DEFANINF Define node infos (all nodes).
- % INF = DEFANINF(T,N,D) returns an array of
- % numbers which contains information related
- % to the nodes N.
- %
- % N can be a column vector containing the indices of nodes
- % or a matrix, which contains the depths and positions of nodes.
- % In the last case, N(i,1) is the depth of i-th node
- % and N(i,2) is the position of i-th node.
- %
- % D is a cell array containing datas.
- % D{k} is the data related to the node N(k).
- %
- % INF(k,:) is the computed information associated
- % to the node N(k).
- %
- % This method overloads the DTREE method.
- % M. Misiti, Y. Misiti, G. Oppenheim, J.M. Poggi 15-Oct-96.
- % Last Revision: 14-Jul-1999.
- % Copyright 1995-2004 The MathWorks, Inc.
- % $Revision: 1.4.4.2 $ $Date: 2004/03/15 22:39:06 $
- nb = length(nodes);
- info = zeros(nb,2);
- [entname,entpar] = read(t,'entname','entpar');
- for k = 1:nb
- info(k,:) = [wentropy(data{k},entname,entpar) , NaN];
- end