How to interpolate this variable
Infos
Cette question est clôturée. Rouvrir pour modifier ou répondre.
Afficher commentaires plus anciens
The calculation of my program gives out a variable 190*40
I want to interpolate it to 190*400
how can i do it?
Réponses (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 commentaires
Shubham Mohan Tatpalliwar
le 13 Mar 2019
KSSV
le 13 Mar 2019
What I have given does the same. It is interpolation.
Shubham Mohan Tatpalliwar
le 13 Mar 2019
KSSV
le 13 Mar 2019
try with interp2.
Cette question est clôturée.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!