フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to interpolate this variable

1 回表示 (過去 30 日間)
Shubham Mohan Tatpalliwar
Shubham Mohan Tatpalliwar 2019 年 3 月 13 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
The calculation of my program gives out a variable 190*40
I want to interpolate it to 190*400
how can i do it?

回答 (1 件)

KSSV
KSSV 2019 年 3 月 13 日
編集済み: KSSV 2019 年 3 月 13 日
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
Shubham Mohan Tatpalliwar 2019 年 3 月 13 日
But the values i have seen do not match
KSSV
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!

Translated by