Resize 4-dimensional matrix, possible?

1 vue (au cours des 30 derniers jours)
Bene Died
Bene Died le 4 Fév 2016
Commenté : Bene Died le 4 Fév 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 commentaire
Bene Died
Bene Died le 4 Fév 2016
Ok. I found the solution. The function which is doing it is called
interpn

Connectez-vous pour commenter.

Réponse acceptée

Stephen23
Stephen23 le 4 Fév 2016
Try interpn, which interpolates any number of dimensions.

Plus de réponses (0)

Catégories

En savoir plus sur Resizing and Reshaping Matrices dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by