plotting 2 vectors of different

Hi, i got one vector that is 120 rows whilst the other is 60. How can i plot them in the same figure?

 Risposta accettata

Sara
Sara il 24 Dic 2014
with hold on.
figure
plot(x1)
hold on
plot(x2)

2 Commenti

AA
AA il 24 Dic 2014
What do u mean with hold on ?
Sara
Sara il 24 Dic 2014
It means that matlab keeps plotting on the same figure. Have you tried the script with your vector instead of x1 and x2?

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su 2-D and 3-D Plots in Centro assistenza e File Exchange

Richiesto:

AA
il 24 Dic 2014

Commentato:

il 24 Dic 2014

Community Treasure Hunt

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

Start Hunting!

Translated by