View full-text article in PMC Sensors (Basel). 2017 Dec 13;17(12):2902. doi: 10.3390/s17122902 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2017 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 Fuzzy C-means algorithm. 1:Initialize U, a NxCmatrix with the membership grades 2:for each iteration k do 3: Compute the centers set C(k)=[cj] using cj=∑i=1Nui,jmxi∑i=1Nui,jm 4: Update U(k) with uij=1∑k=1Cxi−cjxi−ck2m−1 5: if Uk+1−Uk<ϵ then 6: Finish the process 7: end if 8:end for