Borrar filtros
Borrar filtros

Using max value to normalize data

15 visualizaciones (últimos 30 días)
Justin
Justin el 4 de Dic. de 2023
Respondida: Image Analyst el 4 de Dic. de 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?

Respuestas (1)

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

Categorías

Más información sobre Spectral Measurements en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by