Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Save Matrix as XML in Matlab
Replies: 18   Last Post: Aug 13, 2012 3:55 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
smiljan@gmx.de

Posts: 9
Registered: 8/11/12
Save Matrix as XML in Matlab
Posted: Aug 11, 2012 9:14 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello,

I have a Matrix and i need to save it to xml.

My problem is, that i need to make some adjustements.

I want the first colum to be the DOM and the other ones to be the child.

For example:
1 23 24 25 26 27 27 ;
2 34 35 34 34 34 34 ;
1 23 34 34 34 34 34 ;

Now i need it to be like this:
<1>
<d>23</d>
<l>24</l>
etc.
</1>
<2>
<d>34</d>
<l>35</l>
etc.
</2>

etc.

Can somebody held me with this problem? I don't know how to choose the columns



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2013. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.