how to normalize matrix with positive and negative values

23 views (last 30 days)
I would like to normalize/transform matrix (neuronal responses) that has both negative and positive values in a way that all values become positive but the distance between values will not change. Can anyone help?
Thanks a lot!

Accepted Answer

Cris LaPierre
Cris LaPierre on 14 Mar 2020
Find the min value, add it to all values, then normalize.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!