Using max value to normalize data

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?

回答 (1 件)

Image Analyst
Image Analyst 2023 年 12 月 4 日

0 投票

Use rescale to rescale a matrix from min to max to whatever range you want:
signal = rescale(signal, 0, 1);

カテゴリ

ヘルプ センター および File ExchangeMeasurements and Feature Extraction についてさらに検索

製品

リリース

R2023b

質問済み:

2023 年 12 月 4 日

回答済み:

2023 年 12 月 4 日

Community Treasure Hunt

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

Start Hunting!

Translated by