Community Tip - You can change your system assigned username to something more personal in your community settings. X
I have a set of bounding temperature data Ti, at coordinates (xi,yi,zi). I would like to linearly interpolate the temperature at interior points within the bounding points. The bounding points could be like a cube, or other shape, or a plane or a line element.
Is there a mathcad prime program that can do this?
Solved! Go to Solution.
I would call it a 3D interpolation as its a function in three arguments.
Find attached a Prime 11 sheet with a function for 2D and also for 3D linear interpolation (could easily changed to do cubic spline interpolations if desired).
Also included a simple example for the usage of the 2D interpolation function and also a more elaborate example for using the 3D interpolation.
The latter example comes from my answer to a question in this forum. I couldn't find the thread now and have no idea what it was about exactly.
The problem with the 3D interpolation is that Prime does not allow for multidimensional arrays. Prime only provides one-dimensional (vectors) and two-dimensional (matrices) arrays.
So the workaround was to provide the data in form of a nested structure - as a (one-dimensional) vector consisting of two-dimensional matrices.
I would call it a 3D interpolation as its a function in three arguments.
Find attached a Prime 11 sheet with a function for 2D and also for 3D linear interpolation (could easily changed to do cubic spline interpolations if desired).
Also included a simple example for the usage of the 2D interpolation function and also a more elaborate example for using the 3D interpolation.
The latter example comes from my answer to a question in this forum. I couldn't find the thread now and have no idea what it was about exactly.
The problem with the 3D interpolation is that Prime does not allow for multidimensional arrays. Prime only provides one-dimensional (vectors) and two-dimensional (matrices) arrays.
So the workaround was to provide the data in form of a nested structure - as a (one-dimensional) vector consisting of two-dimensional matrices.