Commit 1e4db666 authored by Jesse Heckman's avatar Jesse Heckman
Browse files

corrected signal plot vPrime

parent 3b59b9fc
......@@ -56,9 +56,9 @@ function [profile,dur] = pb_vSignalVC(handles)
handles.signals.XLim = [0 dur];
% Plot signals
dv = 10 * [0 diff(profile.v)'];
dh = 10 * [0 diff(profile.h)'];
t = sigData.v.t;
dv = 10 * diff(profile.v);
dh = 10 * diff(profile.h);
t = sigData.v.t(2:end);
plot(t,dv,'k');
plot(t,dh,'b');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment