Normalizing data to 100 Percent
25 views (last 30 days)
Show older comments
Perri Johnson
on 14 Jul 2022
Commented: Star Strider
on 22 Jul 2022
Hi,
I'm trying to take strain and vertical force data I have and normalize the cycle to 100% from start to finish for one cycle so that I can see if there is a correlation between the two. Does anyone have any advice for how I could go about this process?
I've tried using the normalize function within MATLAB but that only returns the z-score. I've also tried using a threshold funciton to normalize the data between two established points (start/stop of testing) but the problem with this is that you don't know if those specific thresholds line up with each other between the strain and force data. Seems more fabricated.
0 Comments
Accepted Answer
Star Strider
on 14 Jul 2022
Edited: Star Strider
on 14 Jul 2022
One option with normalize is to use the 'range' method or methodtype, and multiply the result by 100. See the documentation for details.
EDIT — (14 Jul 2020 at 19:30)
Example —
v = randi(17, 1, 10)
nv = normalize(v, 'range') * 100
.
8 Comments
Star Strider
on 22 Jul 2022
My pleasure!
If my Answer helped you solve your problem, please Accept it!
.
More Answers (0)
See Also
Categories
Find more on Assembly in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!