Can somebody assist me with the Mathlab source code to plot 9x9 grids and place sensors in each grid?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Can somebody assist me with the Mathlab source code to plot 9.9 grids and place sensors in each grid?
0 commentaires
Réponses (1)
KSSV
le 3 Août 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 commentaires
KSSV
le 3 Août 2022
@seyfedin bedru You have to accept this answer, if you find it is useful. Not your comment. :)
Voir également
Catégories
En savoir plus sur Graphics Objects dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!