2D interpolation of scattered data
조회 수: 4 (최근 30일)
이전 댓글 표시
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
답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!