I have a matrix A below. The values in each column are all roughly 100 apart, but some of them are missing some values. They represent loci of peaks in a graph. I want to make a matrix B that puts the zeros where they need to be: where a value in a column is "skipped"
1698 1696 16991826 1819 18161928 1921 19212063 2065 20592184 2186 21812399 2278 22702544 2373 23732655 2449 25552792 2552 26520 2657 27960 2794 0
e.g. column 1 should be
16981826192820632184023990254426552792
Best Answer