Plot change in velocity
이전 댓글 표시
Hi again,
I am now wanting to slightly alter my Bland-Altman curve, to be able to determine whether velocity causes larger errors.
I have my average data and would like to calcualte the change in mean angle over percentage gait cycle as follows:
delta angle = (mean data (i +1) - mean data (i - 1) ) / 0.02.
I have 101 data points, but the issue comes when I want to calculate the angular change in giat cycle percentage for the first data point.
Mean data is the average angle measured in the gait cycle and so I am wanting to take a point in the gait cycle, move to the point in front of it (+1%), then to the point behind it (-1%) to calculate the velocity, and divide by 2% of the giat cycle etc etc for the entire gait cycle.
I am having problems calculating delta angle.
I then want to plot delta angle against difference.
%% Angular velocity per gait cycle percentage
figure()
for a = 0
delta_angle(a,1) = ((mean_data(a+1)- mean_data(a-1))/0.02);
end
plot(delta_angle, mean_diff)
xlabel('Change in mean angle/ gait cycle percentage')
ylabel('Difference (deg)')
If this does not make sense please let me know.
Thanks in advance
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Spectral Measurements에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




