Borrar filtros
Borrar filtros

plotting 2 vectors of different

5 visualizaciones (últimos 30 días)
AA
AA el 24 de Dic. de 2014
Comentada: Sara el 24 de Dic. de 2014
Hi, i got one vector that is 120 rows whilst the other is 60. How can i plot them in the same figure?

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by