Kmeans Clustering of matrices
1 次查看(过去 30 天)
显示 更早的评论
I have this matrix
x=[ 2+2*i 2-2*i -2+2*i -2-2*i];
i want to simulate transmitting it and adding a noise to it. I represented the components of the complex number as below:
A=randn(150,2)+2*ones(150,2); C=randn(150,2)-2*ones(150,2);
At the receiver i received the below vector, where the components are ordered based on what i sent originally (i.e. the components of x).
X = [A A A C C A C C];
Now i want to apply the kmeans(X) to have 4 clusters, so kmeans(X,4). I am having the below problems:
- I am not sure if i can represent the complex numbers as shown in X above.
- I cannot plot the result of the kmeans to show the clusters.
- I could not understand the clusters centroid results.
- How can i find the bet error rate, if this example was to represent a communication system and at the receiver the k-means clustering was used in order to decide for what the transmitted signal was?
Thank you for your fast response.
Kawther Hamad
0 个评论
回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!