精选优质文档-倾情为你奉上A星算法matlab源码及详细注释 function astardemo%ASTARDEMO Demonstration of ASTAR algorithm% Copyright Bob L. Sturm, Ph. D., Assistant Professor% Department of Architecture, Design and Media Technology% formerly Medialogy% Aalborg University i Ballerup% formerly Aalborg University Copenhagen% $Revision: 0.1 $ $Date: 2011 Jan. 15 18h24:24$n = 20; % field size n x n tiles 20*20的界面wallpercent =