필터 지우기
필터 지우기

how to get row from matrix follow a list of rule

조회 수: 2 (최근 30일)
R G
R G 2017년 8월 9일
답변: KL 2017년 8월 9일
I have a list of number, and i want to extract particular row from a list of row:
example:
% A = [1 2;
3 4;
5 6]
B = [1;
3]
so C is the extracted matrix from A by row number in B
% C = [1 2;
5 6]

채택된 답변

KL
KL 2017년 8월 9일

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by