フィルターのクリア

How to implement the following statement related to Graph in MATLAB ?

3 ビュー (過去 30 日間)
charu shree
charu shree 2023 年 4 月 21 日
コメント済み: Torsten 2023 年 4 月 21 日
Hello all, I am considering the following Graph.
sr = [1,2,2,2,3,3,3,4,5]; % various possible S-BS
ta = [2,3,6,8,6,4,7,6,6]; % various possible targets
G = graph(sr,ta); % models the Graph
plot (G);
In this graph, all edges (i,j), where i and j are neighbors, are in the "pending" state and they can be represented by array of zero.
My query is how can we incorporate this in MATLAB.
Any help in this regard will be highly appreciated.
  3 件のコメント
charu shree
charu shree 2023 年 4 月 21 日
I am expecting an array of zeros of length equal to number of links
Torsten
Torsten 2023 年 4 月 21 日
You mean
zeros(size(sr))
?

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

回答 (0 件)

カテゴリ

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

Community Treasure Hunt

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

Start Hunting!

Translated by