Filter löschen
Filter löschen

Subtraction between two imagesc plots with different resolutions

1 Ansicht (letzte 30 Tage)
Benyamin Nemati
Benyamin Nemati am 3 Okt. 2020
Bearbeitet: Benyamin Nemati am 3 Okt. 2020
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 Kommentare
Image Analyst
Image Analyst am 3 Okt. 2020
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 am 3 Okt. 2020
Bearbeitet: Benyamin Nemati am 3 Okt. 2020
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.

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu 2-D and 3-D Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by