필터 지우기
필터 지우기

2D interpolation of scattered data

조회 수: 4 (최근 30일)
theintern
theintern 2017년 10월 16일
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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by