Borrar filtros
Borrar filtros

how to get row from matrix follow a list of rule

2 visualizaciones (últimos 30 días)
R G
R G el 9 de Ag. de 2017
Respondida: KL el 9 de Ag. de 2017
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]

Respuesta aceptada

KL
KL el 9 de Ag. de 2017

Más respuestas (0)

Categorías

Más información sobre Multidimensional Arrays en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by