0

I'm trying to read a big matrix from MATLAt and read it on my android. Would you convert it to text and read it from a text file, or XML file? How do you read it and display it to the user?

tshepang
  • 12,111
  • 21
  • 91
  • 136
Ramin Anushir
  • 175
  • 2
  • 3
  • 8

1 Answers1

0

Try JSON - it's much more like a Matrix -

http://www.json.org/

http://www.mathworks.com/matlabcentral/fileexchange/33381-jsonlab-a-toolbox-to-encodedecode-json-files-in-matlaboctave

http://developer.android.com/reference/org/json/JSONObject.html

As for display, that really depends on what you're after - You could use a TextView or some custom solution

JRaymond
  • 11,625
  • 5
  • 37
  • 40