how to normalize matrix with positive and negative values

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!

 Akzeptierte Antwort

Cris LaPierre
Cris LaPierre am 14 Mär. 2020

0 Stimmen

Find the min value, add it to all values, then normalize.

Weitere Antworten (0)

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

EK
am 14 Mär. 2020

Kommentiert:

EK
am 14 Mär. 2020

Community Treasure Hunt

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

Start Hunting!

Translated by