Resize 4-dimensional matrix, possible?

1 Ansicht (letzte 30 Tage)
Bene Died
Bene Died am 4 Feb. 2016
Kommentiert: Bene Died am 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 Kommentar
Bene Died
Bene Died am 4 Feb. 2016
Ok. I found the solution. The function which is doing it is called
interpn

Melden Sie sich an, um zu kommentieren.

Akzeptierte Antwort

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

Weitere Antworten (0)

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by