Clear Filters
Clear Filters

Using max value to normalize data

15 views (last 30 days)
Justin
Justin on 4 Dec 2023
Answered: Image Analyst on 4 Dec 2023
Conducting analysis on EMG data of bicep with varying contraction levels. Instruction is to "normalize the low-filtered data by max EMG value when muscle is active in 100% MVC trial". Already created time vector, removed offset by detrend, filtered by 3rd order bandpass and rectified data, then lowpass filter by 3rd order to smooth data. Everything done on the 100% contraction data. How to complete instruction?

Answers (1)

Image Analyst
Image Analyst on 4 Dec 2023
Use rescale to rescale a matrix from min to max to whatever range you want:
signal = rescale(signal, 0, 1);

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!