search for: l_frak_0

Displaying 1 result from an estimated 1 matches for "l_frak_0".

Did you mean: l_frak
2012 May 18
1
Problem when index is given by a changing formula in loop - BUG??
...g: I am caluclating the index which indicates where the loop output should be placed at by a formula. But when I want to fill in or read out some specific index places this doesn't work properly. Let me show you my code: # CODE ################ ln_0 <- 0 ln_max <- 20 ln_schritt <- 0.1 l_frak_0 <- 25 g_l_frak_0 <- 0.5 ln_auslastung <- 2 l_frak <- rep(0, 1+(ln_max-ln_0)/ln_schritt) ln <- ln_0 while (ln < (ln_max+ln_schritt)) { insert <- 1+ (ln-ln_0)/ln_schritt l_frak[insert] <- 100 #l_frak_0 / g_l_frak_0 + floor(ln/ln_auslastung) * l_frak_0/g_l_frak_0 * (1-g_...