Can somebody assist me with the Mathlab source code to plot 9x9 grids and place sensors in each grid?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Can somebody assist me with the Mathlab source code to plot 9.9 grids and place sensors in each grid?
0 Kommentare
Antworten (1)
KSSV
am 3 Aug. 2022
x = 1:9 ;
y = 1:9 ;
[X,Y] = meshgrid(x,y) ;
figure
hold on
plot(X,Y,'r',X',Y','r',X,Y,'.k')
3 Kommentare
KSSV
am 3 Aug. 2022
@seyfedin bedru You have to accept this answer, if you find it is useful. Not your comment. :)
Siehe auch
Kategorien
Mehr zu Graphics Objects finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!