Quote:
Originally Posted by shamrock
So let me see if I understand your post. You need the mean & variance for every line of input and every one of those input lines has ten data values separated by the asterisk character and the first data value is a floating point number like 1.1 2.2 yada yada...correct me if I am wrong.
The code you have posted does not seem to be able to compute the mean and variance of every line of input.
|
Dear Shamrock,
Yes ,I need the mean and variance for every line of the input and every one of those input lines has ten data values separated by the asterisk character
But first data value is just 1 2 4 22 211 22 12 22 22 11
and
1. and 2.is just a serial number and can be ignored for that
sorry for that incovenience
if that code not work what can be possible solution? Can u rewrite it?
Thanks