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 Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by