how to calculate interference?
조회 수: 2 (최근 30일)
이전 댓글 표시
n = 3; ri=0.9
source = 1;
destination = 3;
Link=(n*(n-1))/2;
c=2^Link;
NN = toeplitz(Link+1:-1:2)
mask = logical(fliplr(diag(ones(1,Link-1),-1)));
NN(mask) = 1;
for c = 0:2^Link-1
l = bitget(c, NN)
end
Edges = Link
for c = 0:2^Link-1
l = bitget(c, NN)
G = graph(l~=0)
G.Edges
path = shortestpath(G,source,destination)
end
D = zeros(3,3);
for r = 1:3
for s = 1:3
if r~=s
D(r,s) = sqrt(r.^2+s.^2);
end
end
end
how to calculate interference.
ri^m is the formula
m is the interfering node
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Robotics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!