How to interpolate this variable
信息
此问题已关闭。 请重新打开它进行编辑或回答。
显示 更早的评论
The calculation of my program gives out a variable 190*40
I want to interpolate it to 190*400
how can i do it?
0 个评论
回答(1 个)
Read about interp2., imresize.
Le A be your 190*40 variable.
B = imresize(A,[190 400]) ;
B(B==0) = NaN ;
pcolor(B')
shading interp
caxis([1 5])
4 个评论
Shubham Mohan Tatpalliwar
2019-3-13
KSSV
2019-3-13
What I have given does the same. It is interpolation.
Shubham Mohan Tatpalliwar
2019-3-13
KSSV
2019-3-13
try with interp2.
此问题已关闭。
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!