How to plot a matrix neglecting first two points?
    조회 수: 2 (최근 30일)
  
       이전 댓글 표시
    
provided matrix
x 1 2 3 4 5 6 7
y 10 15 11 7 8 9 20
 it is only needed to plot
x 3 4 5 6 7
y 11 7 8 9 20
댓글 수: 0
채택된 답변
  J. Webster
      
 2016년 4월 20일
        plot(x(3:end), y(3:end))
댓글 수: 2
  J. Webster
      
 2016년 4월 20일
				
      편집: J. Webster
      
 2016년 4월 20일
  
			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
추가 답변 (0개)
참고 항목
카테고리
				Help Center 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

