How to perform kmeans alogorithm through coding?

I am trying to denoise the image using moving k-menas algorithm in matlab code. The code I have wriiten is not working because some codition in if loop unable to write. Please help me regarding this,

댓글 수: 3

Rik
Rik 2020년 7월 1일
If your code is not working you will have to change your code.
Have a read here and here. It will greatly improve your chances of getting an answer.
John D'Errico
John D'Errico 2020년 7월 1일
편집: John D'Errico 2020년 7월 1일
Since you don't show the code you wrote, the answer reduces to write better code.
Otherwise, this forces someone to write complete code from scratch to do your project.
Odds are good that perhaps all someone needs to do is to look at your code to tell you how to improve it. Now which alternative is more likely to get you help, and in a timely way?
As far as "some condition in if loop" goes, that suggests mainly that you need to learn about loops and if statements in MATLAB anyway, since there is no if loop in MATLAB.
So show your code.
AS
AS 2020년 7월 1일
Thank you

댓글을 달려면 로그인하십시오.

답변 (0개)

질문:

AS
2020년 7월 1일

댓글:

AS
2020년 7월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by