Info

Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.

How to interpolate this variable

1 Ansicht (letzte 30 Tage)
Shubham Mohan Tatpalliwar
Shubham Mohan Tatpalliwar am 13 Mär. 2019
Geschlossen: MATLAB Answer Bot am 20 Aug. 2021
The calculation of my program gives out a variable 190*40
I want to interpolate it to 190*400
how can i do it?

Antworten (1)

KSSV
KSSV am 13 Mär. 2019
Bearbeitet: KSSV am 13 Mär. 2019
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 Kommentare
Shubham Mohan Tatpalliwar
Shubham Mohan Tatpalliwar am 13 Mär. 2019
But the values i have seen do not match
KSSV
KSSV am 13 Mär. 2019
try with interp2.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by