Array indices must be positive integers or logical values
조회 수: 2(최근 30일)
I am trying to rearrange the elements in a matrix based on index values using matrix indexing.
I have tried multiple times, checked each and every element in the matrix - every element is positive and >0 and <1504 (length of matrix). I wonder why I still get this error
Kindly, help me with this.
Please find the attachments for the required matrices and data. The following is the command I used:
Output = input_sequence(IntOutAdr);