Resize 4-dimensional matrix, possible?

1 visualizzazione (ultimi 30 giorni)
Bene Died
Bene Died il 4 Feb 2016
Commentato: Bene Died il 4 Feb 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 Commento
Bene Died
Bene Died il 4 Feb 2016
Ok. I found the solution. The function which is doing it is called
interpn

Accedi per commentare.

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Resizing and Reshaping Matrices in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by