How to interpolate values
古いコメントを表示
Hello. I have the question about how would you interpolate some values. For example, I have:
x y z
1 4 7
3 6 9
I want a point between (1,4) and (3,6) with the mean value of z.
Thank you in advanced!!
4 件のコメント
Jan
2013 年 3 月 7 日
This is not clear. What is "a point between (1,4) and (3,6)"?
chaos4u2
2013 年 3 月 7 日
Matt Kindig
2013 年 3 月 7 日
Do you just mean that you want the mean of the x, y, and z coordinates? If so, your middle point would simply be
mid = mean([x, y, z], 1);
Or are you asking something else?
chaos4u2
2013 年 3 月 7 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Interpolation についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!