I have a mat file with a structure that looks like this:

How do I normalize the data and save it as a .dat file (ascii)
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I assume that you want to normalize each column.
There are two ways you can normalize:
(1) Set minimum to 0 and maximum to 1
(2) Set average to zero, standard deviation to 1 (if you don’t have the Statistics Toolbox, use
meanandstdto subtract and divide, respectively, as above).EDIT
Why anyone ever use option 2 to normalize?
When you calculate the difference (dissimilarity) between different data points, you may want to weigh the different dimensions equally. Since dimensions with large variance will dominate the dissimilarity measure, you normalize the variance to one.