Unrecognized function or variable 'lof'.

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

 采纳的回答

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.)

更多回答(2 个)

Jan
Jan 2022-11-25
Do you have the Statistics and Machine Learning Toolbox installed and licensed? If not, you cannot access functions of this toolbox.
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

类别

帮助中心File Exchange 中查找有关 Statistics and Machine Learning Toolbox 的更多信息

产品

版本

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by