hello,
i have here a matrix called A, which is equal :
1 8 2
5 4 8
4 4 1
A = 5 1 0
4 8 7
4 4 4
4 4 1
my goal is to extract the 1st 3rd and second to last (6th) rows.
how can do it?

 채택된 답변

Sindar
Sindar 2020년 2월 16일
편집: Sindar 2020년 2월 16일

0 개 추천

A([1 3 end-1],:)

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Matrix Indexing에 대해 자세히 알아보기

제품

태그

질문:

2020년 2월 16일

댓글:

2020년 2월 16일

Community Treasure Hunt

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

Start Hunting!

Translated by