data from scatterplot

1 回表示 (過去 30 日間)
jessica david
jessica david 2011 年 4 月 16 日
for the following code
M = 16; % Alphabet size
x = randint(1000,1,M); % Random message
y = dpskmod(x,M); % Modulate.
scatterplot(y)
gives a 16 point graph but length(y) is 1000.
Is there any way i can make the code give me only those 16 points that are on the graph.

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 4 月 16 日
We discussed this before: you can use a gridding algorithm, or you can find the centroids of the clusters. There is no way to get that information from the scatterplot itself.

カテゴリ

Help Center および File ExchangeDiscrete Data Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by