The example given in the function is following:
Example:
% KSN_Chi_Batch(DEM,FD,A,S,'ksn');
% [KSN,ChiMap,ChiGrid]=KSN_Chi_Batch(DEM,FD,A,S,'output',true,'theta_ref',0.55);
However, the name of function is KsnChiBatch. Therefore, when using example, Please change the function name to KsnChiBatch.
The example given in the function is following: Example: % KSN_Chi_Batch(DEM,FD,A,S,'ksn'); % [KSN,ChiMap,ChiGrid]=KSN_Chi_Batch(DEM,FD,A,S,'output',true,'theta_ref',0.55);
However, the name of function is KsnChiBatch. Therefore, when using example, Please change the function name to KsnChiBatch.
thanks
cheers- Amit Nepal