Skip to content
Snippets Groups Projects
Commit 9e7ae887 authored by Charlotte Bond's avatar Charlotte Bond
Browse files

latest version

parent 93f5896e
No related branches found
No related tags found
No related merge requests found
......@@ -43,8 +43,8 @@ function [map] = FT_remove_elements_outside_map(map)
D=2*radius;
% Remove unnecessary points (nan points) outside the valid map grid.
Rx = round((ceil(D+4)/2));
Ry = round((ceil(D+4)/2));
Rx = round((ceil(D+6)/2));
Ry = round((ceil(D+6)/2));
if 2*Ry<mygrid.ypoints && 2*Rx<mygrid.xpoints
x0 = round(map.x0);
y0 = round(map.y0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment