Info
この質問は閉じられています。 編集または回答するには再度開いてください。
how to cache the data near the sink node placing inside the grid. in wsn..............i uses following code to form grids now i want to implement cooperative caching on the nodes
1 回表示 (過去 30 日間)
古いコメントを表示
NrGrid = 4; x = linspace(0, 100, NrGrid+1); [X,Y] = meshgrid(x); figure(1) plot(X,Y,'k') hold on plot(Y,X,'k') hold off set(gca, 'Box','off', 'XTick',[], 'YTick',[]) axis square % grid formation ends % Nodes deployment started %NrGrid = 4; coords = rand(100,2) * NrGrid + 1; scatter(coords(:,1),coords(:,2)); set(gca, 'XTick', 1:NrGrid+1, 'YTick', 1:NrGrid+1) grid on
if true
% code
end
0 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!