fahiemulleh
October 1st, 2005, 01:29 PM
Please help me regarding the following problem.
suppose i have a matric
x = 1 2 3
? 5 ?
5 ? 7
where ? are unknown values.
I have found the mean of X by :
m = nanmean(x)
now help me regarding two problems:
1.Fill in the missing values by the respective attribute means.
2.Fill in the missing values by the attribute means of the respective classes. Report the mean values for each class.
how they can be solved in matlab ?
i woule be very thankful to u
suppose i have a matric
x = 1 2 3
? 5 ?
5 ? 7
where ? are unknown values.
I have found the mean of X by :
m = nanmean(x)
now help me regarding two problems:
1.Fill in the missing values by the respective attribute means.
2.Fill in the missing values by the attribute means of the respective classes. Report the mean values for each class.
how they can be solved in matlab ?
i woule be very thankful to u