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?

More Answers (0)

Community Treasure Hunt

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

Start Hunting!