Addition of two different sized arrays

2 views (last 30 days)
Baris Demir
Baris Demir on 19 May 2022
Commented: KSSV on 19 May 2022
I have different sized arrays. First one is sized I=4000x4000, and the other ones are V1,V2=2000x2000. I want to sum them up. But I am having an error because their sizes are different. So I use;
to make them equal size. But, I keep getting the same error wich;
Arrays have incompatible sizes for this operation.
And I want to make this operations in original;
How can I make these calculation?

Accepted Answer

KSSV on 19 May 2022
You may resize them to same size using imresize.

More Answers (0)


Community Treasure Hunt

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

Start Hunting!