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 !

 Respuesta aceptada

Paulo Silva
Paulo Silva el 2 de Jul. de 2011

0 votos

1 comentario

rogerio
rogerio el 2 de Jul. de 2011
Hummm...i'm having trouble to apply the in my example.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Environment and Settings en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 2 de Jul. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by