필터 지우기
필터 지우기

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

조회 수: 1 (최근 30일)
Can somebody assist me with the Mathlab source code to plot 9.9 grids and place sensors in each grid?

답변 (1개)

KSSV
KSSV 2022년 8월 3일
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
KSSV
KSSV 2022년 8월 3일
@seyfedin bedru You have to accept this answer, if you find it is useful. Not your comment. :)

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Graphics Objects에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by