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!