Skip to content
Snippets Groups Projects
Commit 31188961 authored by Dr. rer. nat. Jürgen Mey's avatar Dr. rer. nat. Jürgen Mey :eye:
Browse files

Delete profileEros.m

parent 96e86419
No related branches found
No related tags found
No related merge requests found
function F = profileEros
f = dir('*.alt');
[~,ix] = sort({f.date});
f = f(ix);
D = cellfun(@(x) grd2GRIDobj(x),{f.name},'UniformOutput',false);
f = dir('*.water');
[~,ix] = sort({f.date});
f = f(ix);
[d,z,x,y] = demprofile(D{1});
DIS = cellfun(@(x) grd2GRIDobj(x),{f.name},'UniformOutput',false);
for r = 1:numel(D)-1
[d,z] = demprofile(D{r+1},numel(x),x,y);
[d,w] = demprofile(DIS{r+1},numel(x),x,y);
plot(d,z+w,'b');
hold on
plot(d,z,'k');
pause(0.1)
hold off
F(r) = getframe(gcf);
% if r == 2
% gif('test3.gif','DelayTime',0.1,'frame',gcf);
% else
% gif
% end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment