Plotting a row in a Matrix

조회 수: 4 (최근 30일)
Christopher Jarrett
Christopher Jarrett 2021년 3월 27일
답변: William 2021년 3월 27일
Hi.
I have a 5 column by 100 rows matrix called sortpopulation
I want to plot only the first ten values withen the 5th column on the y axis of some graph.
Thanks in advanced

답변 (1개)

William
William 2021년 3월 27일
That would be:
plot(sortpopulation(1:10,5));

카테고리

Help CenterFile Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by