From: Frank Bieniek on
Hey for a project we have to do this, how would I do it?

On what percentage of days was the high price at least 10% higher than the low price?


The Matlab has to display this code after putting this in:

So far i only have 1 line


hi= (1.1 *lo);

“On 3.19 percent of days, the high price was at least 10% higher than the low”
From: ImageAnalyst on
lowValue = min(dataArray);
percentage = 100.0 * sum(dataArray > 1.1*lowValue) / length(dataArray);