Borrar filtros
Borrar filtros

plotting a vector versus a time

2 visualizaciones (últimos 30 días)
IRFANA
IRFANA el 24 de Nov. de 2014
Editada: Jan el 24 de Nov. de 2014
hai all, i have a matrix with me. I need to plot one row corresponding to one time. I have tried as below
for i=1:N plot(time(i),matrix(i,:)); end
but i got a blank plot...so guys plz help me to plot this. regards

Respuestas (2)

Roger Wohlwend
Roger Wohlwend el 24 de Nov. de 2014
plot(time, matrix)
  1 comentario
IRFANA
IRFANA el 24 de Nov. de 2014
i tried this too..but it is plotting each row vrs time. Actually i need to plot entire row at one unique time

Iniciar sesión para comentar.


Jan
Jan el 24 de Nov. de 2014
Editada: Jan el 24 de Nov. de 2014
Perhaps:
plot(time, matrix.')
Currently we can only guess. Some example data would calrify your question.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by