Is it possible to load two .png figure and add them together with 50% transparency to get a new plot?
Show older comments
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
on 26 May 2015
Yes.
NewMatrix = cast((double(FirstMatrix) + double(SecondMatrix))/2, class(FirstMatrix));
2 Comments
Mr M.
on 26 May 2015
Walter Roberson
on 26 May 2015
FirstMatrix = imread('FirstImage.png');
SecondMatrix = imread('SecondImage.png');
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!