How to plot a matrix neglecting first two points?

 Réponse acceptée

J. Webster
J. Webster le 20 Avr 2016

0 votes

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

2 commentaires

Sajith Galgamuwa
Sajith Galgamuwa le 20 Avr 2016
Modifié(e) : Sajith Galgamuwa le 20 Avr 2016
plot(Xhsaved(1,:), Xhsaved(2,:), 'bs') ;
I have to alter this..help
J. Webster
J. Webster le 20 Avr 2016
Modifié(e) : J. Webster le 20 Avr 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

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by