Using max value to normalize data

10 Ansichten (letzte 30 Tage)
Justin
Justin am 4 Dez. 2023
Beantwortet: Image Analyst am 4 Dez. 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?

Antworten (1)

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

Produkte


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by