MATLAB: 1D vector in ECG

figuresif-statements

Best Answer

One Main Figure Window (Multiple Plots Window) : Remove the figure statement within the loop, & use proper subplot assignment
Or
One Main Figure Window with all plots
figure
for
....
%Remove the figure statement within the loop
hold on;
end