The fourth element is nothing but Obj Fun display option. Its default value is 1 (to display) the Obj Fun values for each iteration. If the fourth element is given 0 (false), then the Obj Fun values will not be displayed.
What is the fourth array element denotes (specified as NaN in code below) in the input to fcm function of matlab 2019?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
NALLARASU KRISH
el 24 de Feb. de 2024
Comentada: Dyuman Joshi
el 24 de Feb. de 2024
c = 3;
m = 2.0;
iter = 20;
minImp = 0.00001;
[centers U] = fcm(data,c,[m,iter,minImp,NaN])
Respuesta aceptada
Dyuman Joshi
el 24 de Feb. de 2024
From the documentation of fcm(), for the syntax [centers,U] = fcm(data,Nc,options) - "If any element of options is NaN, the default value for that option is used."
Here are documentation of fcm() highlighting the options input argument (you can check the default values here) -
2 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Shifting and Sorting Matrices en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!