Skip to content

Commit

Permalink
fixing averaging calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrkarr committed Aug 27, 2013
1 parent e0c3866 commit e62c811
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -426,7 +426,7 @@

%% average over time
%calculate means and variances
nTime = numel(this.time);
nTime = find(this.time, 1, 'last');

this.metConcs.mean = 1 / nTime * this.metConcs.sum;
this.dnaSeq.mean = 1 / nTime * this.dnaSeq.sum;
Expand Down

0 comments on commit e62c811

Please sign in to comment.