Clear Filters
Clear Filters

2D interpolation of scattered data

4 views (last 30 days)
theintern
theintern on 16 Oct 2017
Hello everyone,
I am kind of new in Matlab and when I was trying to do things below, I got so confused. I digitized an experimental graph and take scattered datas.
---
clear all; close all; clc load datas
x=datas(:,1); y=datas(:,2); v=datas(:,3);
[xq,yq] = meshgrid(3:0.1:12, 0:0.1:1.2);
vq = griddata(x,y,v,xq,yq);
contour(xq,yq,vq)
---
for x=0:0.05:1 and with fixed y, I would like to find corresponding v value by using this digitized data. I think I should use griddata to do that but have no idea how to do. I´d be so appreciated if you would help me and give me an idea.
Thank you

Answers (0)

Categories

Find more on Interpolation in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!