how to read a file in matrix format?
Show older comments
am having a following file and i used "fscanf" to read the file in matrix format,but it will display the value after some calculation... the content could be changed?
also how to read a multiple file with in a folder in matrix format????????
Accepted Answer
More Answers (3)
suganya s
on 19 Aug 2015
0 votes
Walter Roberson
on 20 Aug 2015
Your data was not changed. You need to use the command
format long g
to see the data in the form you would like. Currently you are using
format short
which requests a compact view that reduces the number of displayed decimal places in order to reduce the amount of output.
To read multiple files see
suganya s
on 21 Aug 2015
0 votes
Categories
Find more on Data Import and Analysis in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!