Matrix Array Reshaping by fixed columns
1 view (last 30 days)
Hello, I have some matrices of 3x504 and 3x 3024
I want to reshape it to 6x252 and 15x252.
The length of column should remain constant that is 252. Rest of terms can come into rows..
I have attached the files
Does anyone know..?
Neeraj Rajpurohit on 1 Jul 2020
I think reshape(arr, , columnSize) would reshare the array with number of columns as coulmnSize in each row, which is 252 in your case. The number of rows will vary depending upon the number of elements in the array.