Resize 4-dimensional matrix, possible?

1 visualización (últimos 30 días)
Bene Died
Bene Died el 4 de Feb. de 2016
Comentada: Bene Died el 4 de Feb. de 2016
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 comentario
Bene Died
Bene Died el 4 de Feb. de 2016
Ok. I found the solution. The function which is doing it is called
interpn

Iniciar sesión para comentar.

Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Resizing and Reshaping Matrices en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by