Unrecognized function or variable 'lof'.

4 views (last 30 days)
d is a matrix with 100 rows and 21 coloums
LOFobj=lof(d);
says Unrecognized function or variable 'lof'.
I am using MATLAB 2022a.

Accepted Answer

Star Strider
Star Strider on 25 Nov 2022
The lof function was introduced in R2022b.
You will need to upgrade to the latest release to use it. (The onine documentation is for R2022b.)

More Answers (2)

Jan
Jan on 25 Nov 2022
Do you have the Statistics and Machine Learning Toolbox installed and licensed? If not, you cannot access functions of this toolbox.
  1 Comment
Praveen Verma
Praveen Verma on 25 Nov 2022
updated to 2022b. now working. Thanks for your response

Sign in to comment.


Image Analyst
Image Analyst on 25 Nov 2022
I guess I've not been spending enough time in science and too much listening to managers, to whom LOF means "Leap of Faith" because they've all read the Eric Ries book
So now I know another definition of LOF

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by