Hi there, need help, i have calculated values of L and R using rnorm function for 1000 intervals with the mean values and the standard deviation values of L and R. The results are in brackets so i assume it is a matrix. Now need to check when L>R and count, i was using if function but needs a scalar result and L and R are not, any ideas?
Do like this:
Note that the function result is the result of evaluation of the last statement it executed before ending (unless error), or whatever you supply as argument to a 'return' statement.
So if you need the vector with the Fail results, put
As the last statement.
luc whatever i try with subscripts in that function doesnt work
i enclosed a mathcad page in my message. Would you mind adding your example on my mathcad page or a new one please?