clustering method from txt(notepad) data..pls help me
이전 댓글 표시
i just want to know the coding n who to do.if i has data from txt to do the clustering method in matlab.plss help me
댓글 수: 3
Jan
2013년 4월 5일
Please exaplin your problem with any details. How could we know, what you are talking about, what you have tried already and how the text file is looking like?
mohd norhafifi zainudin
2013년 4월 5일
Cedric
2013년 4월 5일
So you want to read data available in a text file and store them into some array in MATLAB, and then study to what extent these values are clustered.
See if you are able to write code for reading the text file and get the content in a MATLAB variable/array. Look at the documentation for TEXTREAD for example.
채택된 답변
추가 답변 (1개)
Image Analyst
2013년 4월 5일
You might want to look at using hist() or histc() to take the histogram of the values to see if they naturally fall into groups.
[counts, values] = hist(yourData, numberOfBins);
bar(values, counts); % Plot it.
카테고리
도움말 센터 및 File Exchange에서 Statistics and Machine Learning Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!