Plot multiple matrices in the same graph

7 Ansichten (letzte 30 Tage)
Aziza Zaouga
Aziza Zaouga am 18 Jul. 2018
Kommentiert: KSSV am 30 Aug. 2018
Hello, I have an array initialized as follows
Delays_Array{N}= [];
and every 'Delays_Array{i}' has 2 columns and a variable number of rows. in the end of my program, i want to plot every 'Delays_Array{i}' in the same figure. Can you help me please ? thank you in advance :)

Akzeptierte Antwort

KSSV
KSSV am 18 Jul. 2018
figure
hold on
for i = 1:length(Delays_Array)
plot(Delays_Arrays{i}(:,1),Delays_Arrays{i}(:,2))
end

Weitere Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by