The data need to be normalized for furtuer using, Therefore you should do it at first, you can do this by using the libsvm svm-scale code or write a normalize file.
In addition, you can also mex the svm-scale.c, unfortunately, I can not get the right results.
If you are on windows, you should go by cmd order to run the svm-scale.exe to normalize your data
Usage: svm-scale [options] data_filename
options:
-l lower : x scaling lower limit (default -1)
-u upper : x scaling upper limit (default +1)
-y y_lower y_upper : y scaling limits (default: no y scaling)
-s save_filename : save scaling parameters to save_filename
-r restore_filename : restore scaling parameters from restore_filename
IF you are on ubuntu, you should go by commanding window to run the svm-scale to normalize your data
./svm-scale
Usage: svm-scale [options] data_filename
options:
-l lower : x scaling lower limit (default -1)
-u upper : x scaling upper limit (default +1)
-y y_lower y_upper : y scaling limits (default: no y scaling)
-s save_filename : save scaling parameters to save_filename
-r restore_filename : restore scaling parameters from restore_filename