Digitization and interpolation of contour map.

3 Ansichten (letzte 30 Tage)
E R SH RAJ Male
E R SH RAJ Male am 15 Feb. 2016
Beantwortet: Arnab Sen am 22 Feb. 2016
Attached contour map with a range X-AXIS=[123-131] & Y-AXIS=[33-43] needs to be digitized and interpolation for a 0.1 x 0.1 grid.
I used Webplotdigitizer(<http://arohatgi.info/WebPlotDigitizer/>) to get values at the known points and placed in excel sheet(Attached). Also i have attached the code which can interpolate these values and give me matrix of (100 x 80) [ 43-33/0.1=100 & [ 131-121/0.1=80] I am facing problem in interpolation ,as it give errors.So can anybody please look in code.
  1 Kommentar
John D'Errico
John D'Errico am 15 Feb. 2016
I'm sorry, but this is not a "we write your code for you" service.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Arnab Sen
Arnab Sen am 22 Feb. 2016
This issue might be due to the fact that there were some change in all the 'interp' functions in MATLAB release R2013b. As a workaround, consider the in-built function 'griddedInterpolant' instead of 'interp2' to achieve the same goal.
For more details about 'griddedInterpolant', refer to the following link:

Kategorien

Mehr zu Interpolation of 2-D Selections in 3-D Grids finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by