When I import my data (numerical matrix of NYSE stock data), the data isn't loaded properly:
the final part of my CSV data disp() displayed should be -
9.76, 10, 9.99, 9.94, 9.97,9.944,9.95,10,9.956,10.01
What I get when I call the disp(importDataResult) is -
0.0100 0.0099 0.0099 0.0100 etc..
Have you got any idea why when I import the data it is transformed completely? The below link contains my zipped CSV file so you can see the problem (I completely understand if you can't be bothered checking this out, but I'd be interested to know if the same problem applies to others' MATLAB / computers).
https://www.sendspace.com/file/slif0y
The code I'm using is:
function [ c ] = CreateCov_Test()
c = csvread('nyse_data_matrix_no_tags.csv');
disp(c);
end
Here is a screenshot of the issue: https://s32.postimg.org/os74qfrlx/matlab_screen.png
Thank you very much!
csvreadif your data are all numeric andtextscanif it contains strings - GameOfThrows1.00e+03or something like that out front of your displayed text result. This is just Matlab making things fit in theformat shortoutput. - Mattmin(importDataResult(:))andmax(importDataResult(:))otherwise you'll get min-value for each column. - Jørgen