Data interpolation from array
显示 更早的评论
Hello,
I have 5 columns of normalised snow fall data (between 0 and 1). All 5 column are 9000 rows long.
I want to interpolate this data onto an array of 2984 rows and 6033 columns in size.
Should I use the scatteredInterpolant function to do this?
If so, please help.
Kind regards,
回答(1 个)
Image Analyst
2020-1-17
编辑:Image Analyst
2020-1-17
0 个投票
Depends. What to the columns and rows represent?
I'd probably say just use interp1() for each column one at a time.
Attach your table if you need more help.
4 个评论
Sarah Yun
2020-1-17
编辑:Image Analyst
2020-1-17
Image Analyst
2020-1-17
What does DTM mean? Do you want to consider the table/matrix as an image and look at the gradient within each row (going across columns)?
Image Analyst
2020-1-18
Maybe I don't understand. If you have the snowfall in an array, why not simply use imresize()???
snowfall2 = imresize(snowfall1, [2984, 6033]);
类别
在 帮助中心 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!