How do I create a multi-dimensional array from a 2D data matrix?
Ältere Kommentare anzeigen
Hello all. I apologize in advance for any confusion in my question. This problem has so thoroughly confused me I'm not sure I can even explain it concisely.
Essentially, I need to create an N-dimensional array to hold output data for N input arguments. The goal is to interpolate across the inputs of the array to find desired data points.
So, for example, I have a 2D matrix of the following data points:
Input1 Input2 … InputN Output1 Output2 … OutputX
Input1 Input2 … InputN Output1 Output2 … OutputX
Input1 Input2 … InputN Output1 Output2 … OutputX
I'm looking for an efficient way to interpolate through this data and determine all the outputs for any input variation. I had though the best way to do this would be an N-dimensional matrix but now I'm not so sure.
Another problem is that the inputs are not guaranteed to be "square". For example, at a fixed Input1 value there might be 3 Input2 values, however at the next Input1 there may be only 2 Input2's.
Please let me know what additional information I can provide
Antworten (1)
Ryan
am 19 Mai 2014
0 Stimmen
Kategorien
Mehr zu Multidimensional Arrays finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!