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
Z(i)=X(q);
end
I do not know how to code "the argmin formula" as above.
Please help me.
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Fuzzy Logic Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!