필터 지우기
필터 지우기

How to address part of a part of a matrix???!!!

조회 수: 1 (최근 30일)
alexaa1989
alexaa1989 2015년 2월 25일
댓글: Matt J 2015년 2월 25일
hello everyone and thank for previous answers.
I have this matrix: R=[1 2 3 4; 5 6 7 8];
now I need to use [7 8]
in other words I need to use the elements of (3:4) from the first row R(1,:) and I don't want to do this: P=R(1,:);
P(3:4);
I need to write it directly.
Any help? thanks in advance
  댓글 수: 1
Matt J
Matt J 2015년 2월 25일
I think you mean the 2nd row. That's where [7,8] lies.

댓글을 달려면 로그인하십시오.

답변 (1개)

Matt J
Matt J 2015년 2월 25일
편집: Matt J 2015년 2월 25일

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by