How to use scatteredInterpolant on given data?

7 次查看(过去 30 天)
Hi all.
I am not quite sure on how to use scatteredInterpolant. I tried reading up on it, but it doesn't make sense to me since I don't have a function v. All I have are points that I need plotted/interpolated. I attached a csv document with some sample data (not actual values, just place holders). Thanks for any help.
  8 个评论

请先登录,再进行评论。

采纳的回答

Walter Roberson
Walter Roberson 2015-12-9
You appear to be wanting to do an 11-dimensional scattered interpolation. Unfortunately MATLAB does not have any scattered interpolation routines that work in more than 3 dimensions, but gridded interpolation can. In a previous discussion Kelly provided a means to convert a scattered vector to gridded information, but it can potentially take up a lot of memory.
On the other hand, you indicate that you want to be able to plot this. There is no way you will be able to plot in 11 dimensions: there are not enough graphics attributes available for more than about 7 dimensions (not saying the plot would be easy to read for that many dimensions...)
  3 个评论
Ibro Tutic
Ibro Tutic 2015-12-9
编辑:Ibro Tutic 2015-12-9
Are you sure that this would be 11 dimensional? If you look at the breakpoints in the 1st column and assume these to be x coordinates, and the breakpoints in the 1st row and assume these to be y coordinates, wouldn't it be possible to graph the stuff mapped to these values on the z axis? Making this 3d, where scatteredinterpolant would work. (F(x,y)=z type relationship).
Walter Roberson
Walter Roberson 2015-12-10
Ummm, it is your data file, and you said the points were in the file, without specifying rows or columns...

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Data Distribution Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by