interchange two specified column of a matrix
Answers
Answered by
0
Answer:
Whereas vectors have one dimension, matrices have two dimensions. You should therefore use a comma to separate the rows you want to select from the columns. For example: my_matrix[1,2] selects the element at the first row and second column.
hope it will help you
Similar questions