Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update ContourFactory.m
Browse files Browse the repository at this point in the history
tatedunbar authored Mar 31, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 4a4726c commit e9bd06e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ContourFactory.m
Original file line number Diff line number Diff line change
@@ -28,7 +28,7 @@
frequency = contents.PeakFrequency_Hz_;
ctrLen = size(frequency, 1);
tempres = (contents.Time_ms_(ctrLen) - contents.Time_ms_(1)) / ctrLen;
contours = [contours, Contour(frequency, tempres, ctrLen)]; %#ok<*AGROW> % ignore warning until better solution found
contours = [contours, Contour(frequency, tempres, ctrLen, 0)]; %#ok<*AGROW> % ignore warning until better solution found
end
end

@@ -43,7 +43,7 @@
frequency = transpose(contents.freqContour);
tempres = contents.tempres;
ctrLen = size(frequency, 1);
contours = [contours, Contour(frequency, tempres, ctrLen)];
contours = [contours, Contour(frequency, tempres, ctrLen 0)];
end
end
end

0 comments on commit e9bd06e

Please sign in to comment.