Resize 4-dimensional matrix, possible?

I have a simple question.
I have a function F(a,b,c,d) with dimension=50 each. It represents a set of optical transfer functions and I'm curious if there is any way to interpolate this 4-D Matrix using matlab.
Calculating it takes lots of time, which brought me to this - perhaps stupid - question.
Thank you very much for your thoughts!

1 Comment

Ok. I found the solution. The function which is doing it is called
interpn

Sign in to comment.

 Accepted Answer

Stephen23
Stephen23 on 4 Feb 2016
Try interpn, which interpolates any number of dimensions.

More Answers (0)

Categories

Products

Asked:

on 4 Feb 2016

Commented:

on 4 Feb 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!