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?
댓글 수: 0
답변 (1개)
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
2022년 8월 3일
@seyfedin bedru You have to accept this answer, if you find it is useful. Not your comment. :)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!