Skip to content

Commit a2b605c

Browse files
author
Mansour Torabi
committed
Grid Path Count Example Added
1 parent 11c14ad commit a2b605c

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

Grid Path/EVAL_grid_path.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
clc, clear
22

33
% Define Map (Grid Path)
4-
Map = zeros(15,10);
4+
Map = zeros(15, 10);
55
Map(3,5) = 1;
66
Map(6,7) = 1;
77
Map(7,3) = 1;

Grid Path/GridMap.png

2.5 KB
Loading

Grid Path/MapView.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@ function MapView(Map)
1818
axis equal;
1919
axis off;
2020

21+
h = text(-1,-0.1, 'Start Point'); set(h,'fontsize',12,'fontweight','bold');
22+
h = text(n,m+1, 'End Point'); set(h,'fontsize',12,'fontweight','bold');

0 commit comments

Comments
 (0)