I have this matrix a = [nrow = 365, ncol = 288] and I want to double the values of the 59th row. Then it means, the new matrix will be b = [nrow = 366, ncol = 288] and the values of the 59th & 60th row are the same. Is there any quick way to do that without doing the function?
Double values of a specific row in a matrix into the next row
43 views Asked by sehne At
2
Simply set the row indices, e.g.,
or
or