The N-way Toolbox for MATLAB ver. 3.10

时间:2011-12-11 05:24:38
【文件属性】:

文件名称:The N-way Toolbox for MATLAB ver. 3.10

文件大小:4.68MB

文件格式:ZIP

更新时间:2011-12-11 05:24:38

MATLAB Tensor N-way array

WHERE DOES THE TOOLBOX WORK? The toolbox has been tested on matlab 7.3 in Windows XP/Vista only. The toolbox uses features that are not compatible with matlab 4.x, so if you have matlab 4.x you should use version 1.04 of this toolbox instead. SETTING UP THE TOOLBOX In order to install the toolbox, simply (extract and) copy the files to a directory (e.g. NWAY). After copying all files, go to the 'update' homepage in order to see if newer versions of individual files are available. Copy these files indiviually overwriting the old files. Make sure that the updates are copied after the main files. Make sure that the path ../nway is included in MATLAB's path. If you have e.g. the PLS_toolbox, some files are named identically. This may cause problems depending on which functions you use. If you want to use e.g. the parafac function from the N-way toolbox, you have to ensure that either the path to the N-way toolbox appears before the path to the PLS_toolbox or that you run matlab from the nway directory. In order to get help on what files are present in the toolbox type <> at the matlab command line (if nway is the name of the directory where you have the files. DATA INPUT Unlike, older matlab 4 compatible versions of this toolbox, the data are input directly as multi-way arrays. Hence, there is no need for the DimX used earlier for defining the size of the array. If you have a 10x8x100 array, X, that is held in a 10x(8*100) matrix, i.e. the old matrix format, you can convert to a three-way array by X = reshape(X,10,8,100); This is the format in which the data must be input to the functions. MODEL OUTPUT Also the output has changed in most cases since version 1. With the use of cell arrays, it is much easier to handle the output of a varying number of component matrices. Let the components of a three-way parafac model is held in a cell e.g. called Factors; e.g. arising from the call of a four-component model Factors = parafac(X,3); Then the first mode loadings are held in Factors{1}: A = Factors{1}; B = Factors{2}; C = Factors{3}; For a Tucker model such as [Factors,G]=tucker(X,[3 3 2]); the components are found similarly and G will be a 3x3x2 array. For a tri-PLS2 model (three-way X, two-way Y) two component sets are defined Xfactors - T=Xfactors{1}, Wj=Xfactors{2}, Wk = Xfactors{3} Yfactors - U=Yfactors{1}, Q=Yfactors{2} Instead of using the cell notation, it is possible to use the M-file FAC2LET (factors to letters) to extract components; e.g. [A,B,C] = fac2let(Factors); MISSING DATA For all algorithms the same flag is used for missing elements, namely NaN. If you have a data set, X, where missing elements are, e.g., designated by the number -9999, you can easily modify the data as X(find(X==-9999))=NaN*find(X==-9999); SUPPORT We are VERY interested in and dependent on feedback from the users. If you have problems running the toolbox please supply screendumps as well as version number of the toolbox, MATLAB, and operating system before contacting us. We will do the utmost to help overcoming the problems. In the rare event that the support required is very time-consuming we will have to charge for this service. The authors may be contacted by email: claus@andersson.dk (primarily Tucker and application/helper programs) rb@life.ku.dk (primarily PARAFAC/N-PLS)


【文件预览】:
ver3.1
----monreg.m(2KB)
----howto5.mat(132KB)
----coredian.m(1KB)
----howto4.mat(4KB)
----ncrossdecomp.m(15KB)
----dataset2res.mat(1.49MB)
----dataset3res.mat(1.49MB)
----cmatrep.m(667B)
----maxvar3.m(5KB)
----pfls.m(3KB)
----getindxn.m(1KB)
----calcore.m(4KB)
----setnans1.m(4KB)
----dtld.m(3KB)
----corevarn.m(1KB)
----gram.m(3KB)
----nonneg.m(3KB)
----parafac.m(42KB)
----def.mat(640B)
----pfplot.m(5KB)
----nshape.m(3KB)
----krb.m(2KB)
----claus.mat(481KB)
----two2n.m(2KB)
----dataset1res.mat(1.34MB)
----plotfac.m(4KB)
----ncrossreg.m(10KB)
----dervar3.m(4KB)
----info.xml(1KB)
----setopts.m(3KB)
----dataset1.mat(1.35MB)
----fnnls.m(3KB)
----stdnan.m(1KB)
----ppp.m(2KB)
----ncosine.m(3KB)
----brod.mat(2KB)
----missmult.m(1KB)
----ckron.m(1KB)
----howto2.mat(6KB)
----ini.m(8KB)
----sugar.mat(778KB)
----gsm.m(2KB)
----derswd3.m(3KB)
----fac2let.m(2KB)
----t3core.m(4KB)
----tucker.m(36KB)
----howto1.mat(8KB)
----unimodalcrossproducts.m(5KB)
----testset2.mat(91KB)
----derdia3.m(3KB)
----ntimes.m(2KB)
----ncrossdecompn.m(18KB)
----dorrit.mat(2.74MB)
----normit.m(1KB)
----tuck.mat(432B)
----complpol.m(154B)
----maxswd3.m(5KB)
----tucktest.m(5KB)
----testset1.mat(1.33MB)
----misssum.m(2KB)
----noptiot3.mat(108B)
----neye.m(2KB)
----nident.m(1KB)
----fastnnls.m(3KB)
----ulsr.m(3KB)
----refold3.m(1KB)
----fnipals.m(7KB)
----howto3.mat(111KB)
----pftest.m(7KB)
----nprocess.m(11KB)
----explcore.m(2KB)
----corcond.m(7KB)
----kr.m(2KB)
----contents.m(4KB)
----demos.m(1KB)
----readme.txt(4KB)
----nmodel.m(6KB)
----npred.m(3KB)
----npls.m(46KB)
----tuckdemo.m(4KB)
----maxdia3.m(5KB)
----nsetdiff.m(2KB)
----noptiopf.mat(76B)
----inituck.m(6KB)
----parademo.m(4KB)
----unimodal.m(2KB)
----missmean.m(2KB)
----temp.mat(622B)
----coreswdn.m(2KB)

网友评论

  • 很不错哟,一直在使用中,今天登陆才发现忘记给评论了。绝对好评
  • 很不错的东西,张量代数运算的函数非常好用!感谢分享!
  • 很不错的东西,张量代数运算的函数非常好用!谢谢哦
  • 挺好的 可以用
  • 很实用的工具,代数运算的函数非常好用!!!
  • 很好用 很全 三维图谱分析有救了
  • 很实用的工具 美中不足的是没有说明文档
  • 很实用的工具箱。
  • 很好的工具箱,张量代数运算的函数非常好用!