Resize 4-dimensional matrix, possible?

조회 수: 1 (최근 30일)
Bene Died
Bene Died 2016년 2월 4일
댓글: Bene Died 2016년 2월 4일
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
Bene Died
Bene Died 2016년 2월 4일
Ok. I found the solution. The function which is doing it is called
interpn

댓글을 달려면 로그인하십시오.

채택된 답변

Stephen23
Stephen23 2016년 2월 4일
Try interpn, which interpolates any number of dimensions.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by