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!