Effacer les filtres
Effacer les filtres

2D interpolation of scattered data

4 vues (au cours des 30 derniers jours)
theintern
theintern le 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

Réponses (0)

Catégories

En savoir plus sur Interpolation dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by