MATLAB Answers

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

30 ビュー (過去 30 日間)
Tahira Batool
Tahira Batool 2021 年 1 月 20 日
回答済み: Subhadeep Koley 2021 年 1 月 22 日
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 日 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 件)

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