Using a matrix in scatteredInterpolant
13 views (last 30 days)
Hey guys, so I got the following problem: I want to interpolate my matrix (size 220x180x1801) onto a new grid (of course size 220x180). So I am currently using griddata and it is pretty slow. It looks like this:
I wanted to try and use scatteredInterpolant, because matlab tells me it has a better performance. But when I try to use it, I get the error "The input points must be specified in column-vector format." So is there any way to use a matrix as input, because using another for-loop to do the column-vector stuff would probably slow down everything.