Vectors need to be same length

4 ビュー (過去 30 日間)
Adrienne
Adrienne 2014 年 5 月 15 日
コメント済み: Adrienne 2014 年 5 月 15 日
%%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 日
time = fps*(0:(length(fz)-1))'
  1 件のコメント
Adrienne
Adrienne 2014 年 5 月 15 日
thank you!!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by