Asked by Platon
on 13 May 2013

All is in the question: I want to use logsig as a transfer function for the hidden neurones so I have to normalize data between 0 and 1. The mapminmax function in NN tool box normalize data between -1 and 1 so it does not correspond to what I'm looking for.

*No products are associated with this question.*

Answer by José-Luis
on 15 May 2013

Accepted answer

bla = 100.*randn(1,10)

norm_data = (bla - min(bla)) / ( max(bla) - min(bla) )

Platon
on 15 May 2013

José-Luis
on 15 May 2013

Yes, provided you use the same normalization bounds (the min and max of both datasets). To rescale, please look at the below code.

bla = 100.*randn(1,10)

minVal = min(bla); maxVal = max(bla);

norm_data = (bla - minVal) / ( maxVal - minVal ) your_original_data = minVal + norm_data.*(maxVal - minVal)

Opportunities for recent engineering grads.

## 0 Comments