How to use scatteredInterpolant on given data?

조회 수: 18 (최근 30일)
Ibro Tutic
Ibro Tutic 2015년 12월 8일
댓글: Rena Berman 2021년 5월 6일
이 질문에 Stephen23 님이 플래그를 지정함
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
Rena Berman
Rena Berman 2021년 5월 6일
(Answers Dev) Restored edit

댓글을 달려면 로그인하십시오.

채택된 답변

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에서 Large Files and Big Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by