Effacer les filtres
Effacer les filtres

calculating the greatest percent drop from data set

1 vue (au cours des 30 derniers jours)
John Jamison
John Jamison le 22 Fév 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

Réponses (0)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by