Intechanging two rows in a matrix

##### Title

##### Question

How to interchange 2 rows in a matrix?

Scilab Matrix-Operations 11-12 min 40-50 sec

__Answers:__

For interchanging row 1 and 3,

A([1 3],:)=A([3 1],:)

Intechanging two rows in a matrix

How to interchange 2 rows in a matrix?

Scilab Matrix-Operations 11-12 min 40-50 sec

For interchanging row 1 and 3,

A([1 3],:)=A([3 1],:)

Login to add comment