Question: I got this Matlab code which is wrong? Can someone help me to fix it? bicep = xlsread('part1.csv','B:B') Tmatrix = bicep.' length(bicep) %% for window

I got this Matlab code which is wrong? Can someone help me to fix it?
bicep = xlsread('part1.csv','B:B') Tmatrix = bicep.' length(bicep)
%% for window size of 0.05 which is 5/100 %total lenght is 30960 w1 = 0.05; s = 0.001; t = (0:s/w1:343);
for i = i:w1/s:length(bicep) if i+50
figure; xlim ([20 200]) ylim ([-1 3]) hold on plot (t, new_array); hold on plot (t, variance); hold on plot (t, dynamic_range); hold on plot (t, mean_squared); hold on plot (t, rms); hold on plot (t, D); grid on;
data :

the last row would be 30961 where column A is 00:00:30.959 and column B is -0.0122774615883827 and column C is zero.
Using the EMG signal for the bicep isometric contractions, create a Matlab routine that performs short-time analysis for an arbitrarily sized window, and extracts the five short-time analysis metrics described above. Exercise 1.1: For window sizes of 0.05s, 0.25s and 1s, compute each of the features and provide a plot for each of the short-time analysis features, overlaid on top of the original EMG signal. 00 vou A B C D part 1 ElapsedTime Bicep BioRadioEv... VarName4 Datetime Number Number Text Elapsed Ti... Bicep BioRadio E... 2 00:00:00 7.64991426... 0 3 00:00:00.001 3.88004994... O 4 00:00:00.002 1.07103586... O 5 00:00:00.003 -0.9277654... O 6 00:00:00.004 -2.2583558... O J00:00:00.005 -3.0431160... O 00:00:00.006 -3.3922338... O 00:00:00.007 -3.4083511... O 00:00:00.008 -3.1667332... O 00:00:00.009 -2.7540738... O 12 00:00:00.01 -2.2321076... O 13 00:00:00.011 -1.6482298... 0 14 00:00:00.012 -1.0471829... O 15 00:00:00.013 -0.4689292... O 16 00:00:00.014 0.07064035... 0 00:00:00.015 0.54487556... O J00:00:00.016 0.94117456... O 19 00:00:00.017 1.25276446... 0 20 00:00:00.018 1.48674857... 0 21 00:00:00.019 1.62753331... 0 22 00:00:00.02 1.69281673... 0 23 00:00:00.021 1.67971110... O 00:00:00.022 1.60980093... O 00:00:00.023 1.48719227... 0 00:00:00.024 1.32363522... 0 27 00:00:00.025 1.13071835... 0 Using the EMG signal for the bicep isometric contractions, create a Matlab routine that performs short-time analysis for an arbitrarily sized window, and extracts the five short-time analysis metrics described above. Exercise 1.1: For window sizes of 0.05s, 0.25s and 1s, compute each of the features and provide a plot for each of the short-time analysis features, overlaid on top of the original EMG signal. 00 vou A B C D part 1 ElapsedTime Bicep BioRadioEv... VarName4 Datetime Number Number Text Elapsed Ti... Bicep BioRadio E... 2 00:00:00 7.64991426... 0 3 00:00:00.001 3.88004994... O 4 00:00:00.002 1.07103586... O 5 00:00:00.003 -0.9277654... O 6 00:00:00.004 -2.2583558... O J00:00:00.005 -3.0431160... O 00:00:00.006 -3.3922338... O 00:00:00.007 -3.4083511... O 00:00:00.008 -3.1667332... O 00:00:00.009 -2.7540738... O 12 00:00:00.01 -2.2321076... O 13 00:00:00.011 -1.6482298... 0 14 00:00:00.012 -1.0471829... O 15 00:00:00.013 -0.4689292... O 16 00:00:00.014 0.07064035... 0 00:00:00.015 0.54487556... O J00:00:00.016 0.94117456... O 19 00:00:00.017 1.25276446... 0 20 00:00:00.018 1.48674857... 0 21 00:00:00.019 1.62753331... 0 22 00:00:00.02 1.69281673... 0 23 00:00:00.021 1.67971110... O 00:00:00.022 1.60980093... O 00:00:00.023 1.48719227... 0 00:00:00.024 1.32363522... 0 27 00:00:00.025 1.13071835... 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
