Can somebody explain this function?
Show older comments
function feasible=feasiblePoint(point,map)
feasible=true;
% check if collission-free spot and inside maps
if ~(point(1)>=1 && point(1)<=size(map,1) && point(2)>=1 && point(2)<=size(map,2) && map(point(1),point(2))==1)
feasible=false;
end
2 Comments
Stephen23
on 31 Aug 2018
"Can somebody explain this function?"
Its author, and the code comments that they should have written.
passioncoding
on 31 Aug 2018
Accepted Answer
More Answers (0)
Categories
Find more on Data Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!