Installation of the mat2dcorr toolbox
Jump to navigation
Jump to search
To download go to http://www.peter-lasch.de/2dcorr/
Required files / Software / OS
Program Files of the mat2Dcorr toolbox:
- mat2dcorr.m
- updcorrplt.m
- resiz2dfig.m
- readme.txt
Software:
- Matlab R2014a or newer
Operating Systems:
- Windows 10
- LINUX (Debian Buster/Bullseye/Bookworm)
Extra files (spectral data files)
- linescandata.mat - example data file in the trace (2D) data format, see Matlab trace data format
- linescandata.xlsx - example data file in the MS Excel format, see MS Excel data format
- IR-cerebellum-100x100.mat - example data file in the hyperspectral imaging (HSI) data format (FT-IR spectra from hamster cerebellum), see Matlab imaging data format
- IR-cerebellum-50x50.mat - example data (50 x 50 spectra, interpolated), Matlab imaging data format
- MALDI-cerebellum-100x100.mat - example data file (100 x 100 spectra) in the HSI data format (MALDI-TOF mass spectra from hamster cerebellum), Matlab imaging data format
- MALDI-cerebellum-50x50.mat - example data file (50 x 50 spectra, interpolated), Matlab imaging data format
- Raman-cerebellum-100x100.mat - example data file (100 x 100 spectra) in the HSI data format (MALDI-TOF mass spectra from hamster cerebellum), Matlab imaging data format
- Raman-cerebellum-50x50.mat - example data file (50 x 50 spectra, interpolated), Matlab imaging data format
- fftsyncro.mat - result file of 2D correlation analysis by the mat2dcorr toolbox using the FFT 2D-COS option, for details of the result file format refer also to the section format of a 2D-COS result file (Matlab)
- statssyncro.mat - result file of 2D correlation analysis by the mat2dcorr toolbox using the statistical 2D-COS option, for details of the result file format refer also to the section format of a 2D-COS result file (Matlab)
Installation
- Download files 1.-4. + some test data (see above) and and copy them into one single directory, for example into a directory mat2dcos.
- Add then this directory to Matlab's search path. For this start Matlab and type
>> addpath('Mat2DcorrPath')
at the Matlab command prompt, where Mat2DcorrPath denotes the full path where the the toolbox resides (i.e. mat2dcos).
Example of Mat2DcorrPath: C:\Users\Tim\Documents\Matlab\mat2dcos
- To start mat2Dcorr type
>> mat2dcorr
at the Matlab prompt.
This will open two different windows:
- A window entitled '2D correlation analysis ... ' which shows the 2D correlation spectrum and mean spectra obtained from the x- and y-spectral data
- The 2D-COS control window, the user dialog box, see screenshot below