Lookup function for a populated 4-D array with ability to interpolate data

I have a 4-D array of simulation data of a physical value say current Ids. This value is dependent on 4 variables say L,Vgs,Vds,Vsb...so i have populated the 4-D array based on these variables. So pretty much i want to be able to have a look up function which will extract a desired subset from the 4-D simulation data, with ability to interpolate when the requested points lie off the simulation grid. How do i go about this in matlab, i only found lookup functions for a 1-D array. Can this be somehow extended to 4-D?

 採用された回答

Walter Roberson
Walter Roberson 2015 年 9 月 9 日

0 投票

Provided the items are numeric, use interpn()

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by