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?

 Réponse acceptée

Sindar
Sindar le 16 Fév 2020
Modifié(e) : Sindar le 16 Fév 2020

0 votes

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

Plus de réponses (0)

Catégories

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by