Info

This question is closed. Reopen it to edit or answer.

f is a matrix image converted to new matrix image by using mat2gray function. i want to know how elements of new matrix formed ?

1 view (last 30 days)
i got f = [1 2;3 4] gives me f = 1 2;3 4 when i use mat2gray(f) funtion it yields result ans = 0 0.3333;0.6667 1.0000 anyone can tell me how this happen?

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!