hypercube or hyperpca not found. Not even in R2020b .why ?

15 次查看(过去 30 天)
I was trying to using commands related hyperspectral imaging in my matlab version R2016b , but error was generated that functions not found . I installed Matlab R2020b but this version also gives an error that " undefined function "
what should I do ?
  1 个评论
Walter Roberson
Walter Roberson 2021-1-20
https://www.researchgate.net/publication/281086663_Hyperspectral_Signal_Processing_to_Identify_Land_Cover_Pattern from 2014 contains a comment that hints that someone used to have a HYPERPCA function that got renamed or adapted.
I see remains of a couple of another publication that hints that someone had a function named hyperpca() around 2014 (probably not the same as the one previously mentioned), but the remains that I find for that are a corrupted science paper that has been incorporated into a site to deliberately provide false hits for advertising purposes, and the code itself is not present.
If you had a hyperpca in R2016b time frame, it was from a non-Mathworks source.

请先登录,再进行评论。

采纳的回答

Subhadeep Koley
Subhadeep Koley 2021-1-22
hypercube, hyperpca and other hyperspectral related functions come under Image Processing Toolbox's Hyperspectral Imaging Library support package, and can be downloaded from here.
In order to use the function you need to install the both the Image Processing Toolbox and Hyperspectral Imaging Library support package.
Also, MATLAB R2020b or higher is required in order to use the Hyperspectral Imaging Library support package.
  1 个评论
嘉讯
嘉讯 2022-10-13
THanks!I use 2021b,and had a success after I installed the Hyperspectral Imaging Library

请先登录,再进行评论。

更多回答(1 个)

Steven Lord
Steven Lord 2021-1-20
Both those functions are part of Image Processing Toolbox. Check the output of the ver function to determine if you have this toolbox installed. If you do have it installed, use license to determine if a license for this toolbox is available. [Your company or educational institution may have licenses but they may all be in use when you're trying to use it.]
The notes at the end of their documentation pages indicate they were each introduced in release R2020a, so even if you had Image Processing Toolbox installed and have an available license in your older release those functions would not be available.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by