Borrar filtros
Borrar filtros

calculating the greatest percent drop from data set

1 visualización (últimos 30 días)
John Jamison
John Jamison el 22 de Feb. de 2017
Editada: Walter Roberson el 23 de Feb. de 2017
Hi everyone,
I am stuck on this problem (see attached).
I currently have
for i = 1:length(dataset);
currHigh = dataset(i, HIGH);
if currHigh > previousHigh;
previousHigh = currHigh;
end
currDrop = dataset(i, LOW) ./ currHigh;
end

Respuestas (0)

Categorías

Más información sobre Get Started with MATLAB en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by