Azzera filtri
Azzera filtri

Info

Questa domanda è chiusa. Riaprila per modificarla o per rispondere.

How to interpolate this variable

1 visualizzazione (ultimi 30 giorni)
Shubham Mohan Tatpalliwar
Shubham Mohan Tatpalliwar il 13 Mar 2019
Chiuso: MATLAB Answer Bot il 20 Ago 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?

Risposte (1)

KSSV
KSSV il 13 Mar 2019
Modificato: KSSV il 13 Mar 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 Commenti
Shubham Mohan Tatpalliwar
Shubham Mohan Tatpalliwar il 13 Mar 2019
But the values i have seen do not match
KSSV
KSSV il 13 Mar 2019
try with interp2.

Questa domanda è chiusa.

Community Treasure Hunt

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

Start Hunting!

Translated by