hello. I have two curves in a graph. how can i draw lines between each sample of curves. for example draw a line between sample 10 of curve 1 and between sample 10 of curve 2? both curves consist of 45 samples. and i want to draw line between each two corresponding samples. could anyone help me please?
s1: first signals2:second signalfigure; hold on;plot(s1(:,1),s1(:,2),'.b-')plot(s2(:,1),s2(:,2),'.r-')grid;%xlabel('time (s)');
%ylabel('amplitude (mV)');
title('Original disaligned waves');pflag=1;[dtw_Dist,D,dtw_k,w,s1w,s2w]=dtw(s1(:,1),s2(:,1),pflag);dtw_Dist, dtw_k
the image attached is the figure consisting my two curves
Best Answer