in reply to Re: construct a matrix by different intervalsin thread construct a matrix by different intervals
Consider what is generated for the OP's data line 'D 10 20' and contrast with OP's desired result. The task is not quite so simple. ;)