Borrar filtros
Borrar filtros

Multidimensional Interpolation scattered data

12 visualizaciones (últimos 30 días)
Basil Alotri
Basil Alotri el 28 de Feb. de 2020
Comentada: Basil Alotri el 2 de Mzo. de 2020
Is it possible to do multidimensional interpolation on a set of scattered data?
I have scattered data points for offshore wind farms projects. water depth = WD , distance to shore = DS , installed capacity = Cap. there is no mathermatical relationship between all these parameters.so each wind farm has 3 coordinates (WD,DS,Cap). I have also values for each farm's installation costs. I want to interpolation and plot it for these scattered points. I dont know the mathematical relation for installation costs as function of all these parameters. they are just randomly gathered projects data. I would like to see how installation costs will be versus all these. So what i have is:
DS=[3 20 3.5 7.5 6 3 8.5 5.2 10];
Cap=[40 160 23 60 165 60 90 90 110 180];
WD=[10 14 14 12 9 10 5 10 9];
Instalcost=[20.6 166 14.52 76.37 136.92 76.37 83.7 101.81 100.22 325.97];
I tried several interpolation methods following different steps from the documentations , but i keep getting errors .
Can you please help me in how to write this code to get interpolation plot for all this data ?

Respuestas (1)

Maadhav Akula
Maadhav Akula el 2 de Mzo. de 2020
Hi,
Can you check your data once as Cap and Instalcost are 10x1 vectors, whereas DS and WD are 9x1 vectors. You can use the scatteredInterpolant class, if all the vectors are of same size, but you should pass them as column vectors. You can just transpose the existing variables. The following links might be helpful :
Hope this Helps!
  1 comentario
Basil Alotri
Basil Alotri el 2 de Mzo. de 2020
Hi , thanks for your help, i am sorry for making mistakes while typing the quesiton , but all the data are 10x1 vectors.
I will try your suggestion , thanks !

Iniciar sesión para comentar.

Categorías

Más información sobre Interpolation en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by