Subtraction between two imagesc plots with different resolutions

1 次查看(过去 30 天)
Hi,
I have two similar world plots with different resolution, one of them is for example: imagesc(lambda-180,phi,EWT(:,:,1)), and the other is imagesc(Lon,Lat,Pre(:,:,1));
wich their values are as follow:
lambda = 1*360;
phi = 180*1;
EWT = 180*360*12;
Lon = 720*1;
Lat = 360*1;
Pre = 360*720*12;
i want to subtrace EWT from Pre and i dont know how to equalize them for this action,
i apperaciate if you could answer me please.
  2 个评论
Image Analyst
Image Analyst 2020-10-3
You can't subtract matrices unless they're the same size. Do you want to make them the same size with imresize() or interp2()? Or do you have some other process you'd like to use?
Benyamin Nemati
Benyamin Nemati 2020-10-3
编辑:Benyamin Nemati 2020-10-3
I would like to interpolate one of the above plots but I don't know how to do that in correct way. For your consideration, one of them is the world meteorological data with 1° resolution and the other has 0.5° resolution.

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 2-D and 3-D Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by