Is it possible to load two .png figure and add them together with 50% transparency to get a new plot?

1 view (last 30 days)
Is it possible to load two .png figure in MATLAB and add them together with 50% transparency to get a new plot?

Answers (1)

Walter Roberson
Walter Roberson on 26 May 2015
Yes.
NewMatrix = cast((double(FirstMatrix) + double(SecondMatrix))/2, class(FirstMatrix));

Community Treasure Hunt

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

Start Hunting!