What are some ways of normalizing my data with MATLAB?

3 views (last 30 days)
I have a series of concentration transients that go from 0 to 0.5s, but the problem is they start at different y-values and there is some noise in the data. They rise exponentially and plataeu and have roughly the same amplitude. I want to normalize them appropriately so that where they start on the y-axis is the same. How can I do this with MATLAB without introducing too much error?

Accepted Answer

KSSV
KSSV on 27 Jun 2017
Edited: KSSV on 27 Jun 2017
Let x (a vector) be your data.....you can normalize your data as below:
z = (x-min(x))/(max(x)-min(x)) ;

More Answers (0)

Community Treasure Hunt

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

Start Hunting!