how can i convert a file into a matrix?
Show older comments
I want convert a file(.pdf/.txt/.jpg...) into matrix(with values integer or binary), and after i must ri-convert it. Can i do it?
PS:i tried only with images.jpg using imread() and imwrite(), but if i don't know the file extension? i want to do this also i don't know the nature of file.
thanks.
Accepted Answer
More Answers (0)
Categories
Find more on Resizing and Reshaping Matrices 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!