Helping to save matrix in txt file

Hi, i need some help.
I have a matrix calle NOS and it looks like this:
1 0 0 2.33356978125e-009 -1.59876343136e-009
2 3 3 5 3.65137983322323
Another one called BARRAS:
1 0 3 5 50.69 147.656878779
2 3 5 1 456.12 123.123214234
Variable NNOS = 2
And i want to save these matrix into a txt file but i need to put more information on it. My txt file should look like this:
DATE: 01/07/2011
NAME: My Name
Example: Example_number_1
Dados: Quantidade de nos: 2 (the number 2 comes from the value in variable NNOS)
No Inci Incj v rot (titles of each column)
1 0 0 2.33356978125e-009 -1.59876343136e-009
2 3 3 5 3.65137983322323
Barra i j L V M (titles of each column)
1 0 3 5 50.69 147.656878779
2 3 5 1 456.12 123.123214234
Please, need help to do this ! Thanks a lot !

 Réponse acceptée

Paulo Silva
Paulo Silva le 2 Juil 2011

0 votes

1 commentaire

rogerio
rogerio le 2 Juil 2011
Hummm...i'm having trouble to apply the in my example.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Environment and Settings dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by