Filter löschen
Filter löschen

Vectors need to be same length

1 Ansicht (letzte 30 Tage)
Adrienne
Adrienne am 15 Mai 2014
Kommentiert: Adrienne am 15 Mai 2014
%%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

Akzeptierte Antwort

James Tursa
James Tursa am 15 Mai 2014
Bearbeitet: James Tursa am 15 Mai 2014
time = fps*(0:(length(fz)-1))'

Weitere Antworten (0)

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by