MATLAB Answers

change color intensity of matrix for some pixels

2 views (last 30 days)
Anvinder  Singh
Anvinder Singh on 12 Mar 2016
Answered: Walter Roberson on 12 Mar 2016
I have a matrix and it has 2 squares, i have used "a = ones(256, 256, 3);" so it gives me a white background. I wantt to change it to gray. What should i do ? Thank you.

Community Treasure Hunt

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

Start Hunting!