Unrecognized function or variable 'knnimpute'
Show older comments
I have the stats and ml toolboxes installed, as well as the bioinformatics toolbox as well. If I try to run the function on an incomplete matrix I get the error in the title.
data = [2 3 3; NaN 5 4; 4 2 NaN];
knnimpute(data)
How do I go about debugging this? I'm not familiear with matlab toolboxes, so I wasn't sure if they get automatically added to path or not.

OS is Arch running XFCE4, matlab release 2023b though that's probably not necessary information. Will update
2 Comments
Dyuman Joshi
on 1 Dec 2023
Please show the output of
which knnimpute -all
Alexander
on 1 Dec 2023
Accepted Answer
More Answers (0)
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!