MATLAB: Matrix interpolation in one dimension

MATLAB

I have a matrix with 30*12 dimension. I just want to interpolate the vertical dimension and keep the row constant. How can I do that with interp1? It should be 1200*12. And is there any other function that does the interpolation with not just linearly?

Best Answer

  • Have a look on imresize.