Can somebody assist me with the Mathlab source code to plot 9x9 grids and place sensors in each grid?

1 visualización (últimos 30 días)
Can somebody assist me with the Mathlab source code to plot 9.9 grids and place sensors in each grid?

Respuestas (1)

KSSV
KSSV el 3 de Ag. de 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 comentarios

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Objects en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by