So I'm currently working on filling a 2-D matrix in order to calibrate a picture I've taken.
To do so I've created:
vector1 = linspace(0.037, 0.03175, 256);
This vector is ideally the first row in the matrix.
I then have another vector:
vector2 = linspace(0.0288, 0.0277, 256);
I was wondering if there is any way to interpolate between vector1
and vector2
and have them be inserted into a matrix with Row 1 = vector1
and Row 168 = vector2
.
I should have 168 total rows, with 256 columns.
Any help would be greatly appreciated.
I'd rather not have to do 168 rows manually....