AlanRace / SpectralAnalysis

Software for the analysis and interactive exploration of spectral imaging data
https://alanrace.github.io/SpectralAnalysis/
Apache License 2.0
29 stars 9 forks source link

Princomp removed as of 2018a #5

Closed adamjtaylor closed 5 years ago

adamjtaylor commented 6 years ago

Princomp has been removed from Matlab as of 2018a. Suggest a new release using pca instead to enable use of current Matlab versions.

AlexHenderson commented 6 years ago

I rolled my own, meaning you don't need the Statistics Toolbox either. https://bitbucket.org/AlexHenderson/chitoolbox/src/99b48cff98cc5c0307f0fa6ddae4c790480db79e/CHIToolbox/+utilities/chi_pca.m

AlanRace commented 5 years ago

Thanks Adam - I have updated this in the latest commit (https://github.com/AlanRace/SpectralAnalysis/commit/060e70e19485a8af760596931b596310dbfa1cc5)

Alex - It would be great to integrate your version which doesn't require the Statistics Toolbox, but unfortunately the licences aren't compatible (as far as I understand it...).

AlexHenderson commented 5 years ago

No, I guess the licences are not compatible, but since it's my code I hereby grant you permission to reuse the code and release it under your Apache licence. You only need a piece of the code anyway. Can you let me know if you improve it. Always willing to have better versions!

adamjtaylor commented 5 years ago

This has been fixed in commit (060e70e)