フィルターのクリア

how to extract the value from voronoi diagram in matlab?

4 ビュー (過去 30 日間)
Matlab111
Matlab111 2014 年 9 月 2 日
コメント済み: Mark Neoglobal 2015 年 9 月 20 日
I need to know how to extract the value from the "voronoi" diagram in matlab. Please reply to me as soon as possible.
I'm plotting this graph by using this command "voronoi". And now I want to extract the value of each "node" in each "cluster".
  2 件のコメント
Geoff Hayes
Geoff Hayes 2014 年 9 月 3 日
Arul - are you doing more than just calling voronoi to get the above plot? What are the lines of code that you are calling to produce the above? The cluster heads are presumably the coordinates for the points passed into the voronoi function, but where do the other ones come from?
Matlab111
Matlab111 2014 年 9 月 3 日
see below my code's are available...

サインインしてコメントする。

採用された回答

Geoff Hayes
Geoff Hayes 2014 年 9 月 2 日
Arul - if you want to get the vertices for each Voronoi cell, then use voronoin. For example, from this link, [V,C] = voronoin(X) returns Voronoi vertices V and the Voronoi cells C of the Voronoi diagram of X.
  14 件のコメント
Matlab111
Matlab111 2014 年 10 月 14 日
編集済み: Matlab111 2014 年 10 月 14 日
http://www.mathworks.in/matlabcentral/answers/153186#comment_235285 sir from your code i can get an cluster head and cluster head member. But i want to get their residual energy also ('energy'(S.E in my code)).For every node i want.(i need both cluster head and cluster member energy).
Mark Neoglobal
Mark Neoglobal 2015 年 9 月 20 日
hello. i am using this code and need to display the number of packets received and sent by each cluster head. how is it possible. any help?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeVoronoi Diagram についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by