Info
This question is closed. Reopen it to edit or answer.
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 view (last 30 days)
Show older comments
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 Comments
Answers (0)
This question is closed.
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!