cfs2wpt.m
上传用户:haiyisale
上传日期:2013-01-09
资源大小:3246k
文件大小:1k
- % CFS2WPT 學悢偐傜僂僃乕僽儗僢僩僷働僢僩僣儕乕傪峔抸
- %
- % CFS2WPT 偼丄僂僃乕僽儗僢僩僷働僢僩僣儕乕偲娭楢偡傞夝愅怣崋丄傑偨偼
- % 僀儊乕僕傪峔抸偟傑偡丅
- %
- % [T,X] = CFS2WPT(WNAME,SIZE_OF_DATA,TN_OF_TREE,ORDER,CFS) 偼丄僂僃乕僽
- % 儗僢僩僷働僢僩僣儕乕 T 偲娭楢偡傞夝愅怣崋丄傑偨偼僀儊乕僕 X 傪弌椡偟
- % 傑偡丅
- %
- % WNAME 偼丄夝愅偵巊梡偡傞僂僃乕僽儗僢僩柤偱偡丅
- % SIZE_OF_DATA 偼丄夝愅怣崋丄傑偨偼僀儊乕僕偺戝偒偝偱偡丅
- % TN_OF_TREE 偼丄僣儕乕偺廔抂僲乕僪僀儞僨僢僋僗傪娷傓儀僋僩儖偱偡丅
- % ORDER 偼丄怣崋偵懳偟偰2丄僀儊乕僕偵懳偟偰4偱偡丅
- % CFS 偼丄僆儕僕僫儖怣崋丄傑偨偼僀儊乕僕傪嵞峔惉偡傞偨傔偵丄巊梡偡傞
- % 學悢傪娷傫偩儀僋僩儖偱偡丅
- %
- % CFS 偼丄僆僾僔儑儞偱偡丅CFS2WPT 偑丄CFS 擖椡僷儔儊乕僞側偟偱巊傢傟偨
- % 応崌丄偡傋偰偺僣儕乕學悢偼(X 偑嬻偱偁傞偙偲傪堄枴偡傞)嬻偵側傝傑偡偑丄
- % 僂僃乕僽儗僢僩僷働僢僩僣儕乕峔憿 (T) 偼惗惉偝傟傑偡丅
- %
- % 椺戣:
- % load detail
- % t = wpdec2(X,2,'sym4');
- % cfs = read(t,'allcfs');
- % noisyCfs = cfs + 40*rand(size(cfs));
- % noisyT = cfs2wpt('sym4',size(X),tnodes(t),4,noisyCfs);
- % plot(noisyT)
- %
- % t = cfs2wpt('sym4',[1 1024],[3 9 10 2]',2);
- % sN = read(t,'sizes',[3,9]);
- % sN3 = sN(1,:); sN9 = sN(2,:);
- % cfsN3 = ones(sN3);
- % cfsN9 = randn(sN9);
- % t = write(t,'cfs',3,cfsN3,'cfs',9,cfsN9);
- % plot(t)
- % M. Misiti, Y. Misiti, G. Oppenheim, J.M. Poggi 01-Aug-2001.
- % Copyright 1995-2002 The MathWorks, Inc.
- % $Revision: 1.1 $ $Date: 2003/04/18 18:11:52 $