How to perform kmeans alogorithm through coding?

1 次查看(过去 30 天)
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 个评论
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.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Matrix Indexing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by