Borrar filtros
Borrar filtros

how to extract the first three elements present in each row of a matrix

23 visualizaciones (últimos 30 días)
A=[0.7849 0.7472 0.6991 0.6754 0.5707 0.4462 0.3210 0.2955 0.1318;
0.9037 0.8296 0.7963 0.5718 0.4657 0.2708 0.2605 0.1518 0.1235;
0.9085 0.8479 0.8222 0.6896 0.4416 0.2860 0.2790 0.2278 0.1909]
Could anyone help me to extract the first three elements present in each row such that the result should be
B=[0.7849 0.7472 0.6991
0.9037 0.8296 0.7963
0.9085 0.8479 0.8222]

Respuesta aceptada

Catalytic
Catalytic el 28 de Mzo. de 2019

Más respuestas (0)

Categorías

Más información sobre MATLAB 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