How to use scatteredInterpolant on given data?

16 visualizzazioni (ultimi 30 giorni)
Questo/a domanda è stato/a segnalato/a da 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 Commenti
Rena Berman
Rena Berman il 6 Mag 2021
(Answers Dev) Restored edit

Accedi per commentare.

Risposta accettata

Walter Roberson
Walter Roberson il 9 Dic 2015
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 Commenti
Ibro Tutic
Ibro Tutic il 9 Dic 2015
Modificato: Ibro Tutic il 9 Dic 2015
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 il 10 Dic 2015
Ummm, it is your data file, and you said the points were in the file, without specifying rows or columns...

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Large Files and Big Data in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by