From: Frank Bieniek on 8 Feb 2010 22:01 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 8 Feb 2010 22:49 lowValue = min(dataArray); percentage = 100.0 * sum(dataArray > 1.1*lowValue) / length(dataArray);
|
Pages: 1 Prev: How do you know when you are debugging? Next: Wave Equation |