Skip to content

Commit

Permalink
Complete the rename of case_realdata.txt to case_lakeerie.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
mdunphy committed Jul 11, 2016
1 parent 43d52c5 commit be068e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion case_lakeerie.m
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
%%% Specify the parameters of the problem %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

% Load sample data file: two columns, depth and temperature
data = load('case_realdata.txt'); zdata = data(:,1); T = data(:,2);
data = load('case_lakeerie.txt'); zdata = data(:,1); T = data(:,2);

% Find a value for z=0 by linear extrapolation
T = [T(:); interp1(zdata,T,0,'linear','extrap')];
Expand Down

0 comments on commit be068e4

Please sign in to comment.