MATRIX EXTRACT VALUE
Title
Question
IF A =[1 2 3; 4 5 6] and i want to extract column 1, 3 and row 1,2
how to extract?
Scilab Matrix-Operations 03-04 min 40-50 sec
Answers:
To extract column 1 and 3
Type, A(:,[1 3])
and
To extract row 1 and 2
Type, A([1 2],:)
Login to add comment