代写Project 1 on Data Mining调试Matlab程序
- 首页 >> Database作业Project 1 on Data Mining
1. Random number generation (each 10 points) :
● Generate three streams (1D, 2D) of random numbers with 1,000 samples, you may use the Matlab command rand or other command.
● Visualize the generated samples, you may use a scatterplot.
● Compute the histogram of the two streams, then normalize them to become a probability density function (pdf).
● Visualize the pdf’s of the two streams. Are the samples uniformly distributed? Do the pdf’s represent a standard uniform. distributions? Comment.
2. Image manipulation – the image LenaGrey is formed by 512x512 pixels with intensity from 0 to 255 (each 10 points)
● Import LenaGrey to show and see the image.
● Calculate its mean, standard deviation, median, min, max, and mode.
● Plot the histogram of the LenaGrey.
3. Image range reduction (30 points)
Partition image intensity into 2, 3, 4, 6, 8 bins to check image quality change compared with the original Lena image (8 bit image with intensity range from 0 to 28 − 1 = 255) and check how the image appearance changes.