argmin function for clustering fcmdd?

Hello everyone!
I don't know much about how "argmin" works, so I have a problem asking you to help me:
----------------
Input:
  • Given a matrix u, (size N by c)
  • Given vector X (size N by 1)
%Given a matrix D (size N by N): (D is the matrix for each element D(i, j) = x (i) . (x (j))
D=pdist2(X,X);%not use pdist function
Output:
The matrix Z is of size c x 1, Z is a subset of x, such that:
for i=1:c
Eq.1
Z(i)=X(q);
end
I do not know how to code "the argmin formula" as above.
Please help me.

Réponses (0)

Catégories

En savoir plus sur Fuzzy Logic Toolbox dans Centre d'aide et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by