How to plot a matrix neglecting first two points?

 Respuesta aceptada

J. Webster
J. Webster el 20 de Abr. de 2016

0 votos

plot(x(3:end), y(3:end))

2 comentarios

Sajith Galgamuwa
Sajith Galgamuwa el 20 de Abr. de 2016
Editada: Sajith Galgamuwa el 20 de Abr. de 2016
plot(Xhsaved(1,:), Xhsaved(2,:), 'bs') ;
I have to alter this..help
J. Webster
J. Webster el 20 de Abr. de 2016
Editada: J. Webster el 20 de Abr. de 2016
plot(Xhsaved(1,3:end), Xhsaved(2,3:end), 'bs')
you can learn all you need about matrix indexing here... http://www.mathworks.com/company/newsletters/articles/matrix-indexing-in-matlab.html

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Preguntada:

el 20 de Abr. de 2016

Editada:

el 20 de Abr. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by