a)Read “distance1.txt” and “distance2.txt” – These are 15 x 10 matrices.
b) Use (1/sqrt(2*3.14))(exp(-(xx)/2)) on each entry of these two matrices. (x is the individual entry from the matrix)
c) Generate “distribution1.txt” and “distribution2.txt” based on the result of the previous step – the dimension has to be 15 x 10 for each matrix in the individual txt file.
d) Your file should generate console output (on the screen) and file outputs (txt files).
e) Use the followings – Array, File Reading, File Writing, Class, Constructor, and Destructor.
Aucun commentaire:
Enregistrer un commentaire