%%Plotting
time = (0:fps:length(fz)-fps)';
figure(i);
plot (time,fz);
For some reason I cannot get this to work, I have tried to specify that the time has to be the same length as the variable fz starting at 0.
fps = frames per second which is a value of 0.001

 채택된 답변

James Tursa
James Tursa 2014년 5월 15일
편집: James Tursa 2014년 5월 15일

0 개 추천

time = fps*(0:(length(fz)-1))'

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

태그

질문:

2014년 5월 15일

댓글:

2014년 5월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by