How can I plot multiple signals separately as like mentioned figure for avoiding this three signals overlapping?

7 views (last 30 days)
Program code:
%plot all signals in a single plot.
figure;
subplot(211)
plot(d2,'k','LineWidth',.5); %Input Signal
title('Contaminated Signal 1');
hold on
plot(clean(1,:),'b','LineWidth',.5); %wICA cleanned EEG
title('Clean Signal 1');
hold on
arti1=d2-clean(1,:);
plot(arti1,'r','LineWidth',2);
ylim([-40, 40]);
title('Observation Figure By Proposed Method (Channel 01)');
legend('Input Signal', 'Clean Signal','Artifact');
My goal is to plot this following type : here signal gap between another signal is 35
My experimental output plot is:

Accepted Answer

Mathieu NOE
Mathieu NOE on 27 Nov 2023
Moved: Cris LaPierre on 27 Nov 2023

More Answers (0)

Categories

Find more on Line Plots in Help Center and File Exchange

Products


Release

R2019a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!