How can I output a matrix in Octave?

Viewed 19912

I got 2 files, the first one is the master, that calls the second one. So, I want to output a matrix created in the second file, while runs the first file, I guess via printf in the master file maybe??

I've tried this way and didn't work, besides the fact that shows the rows in the place of columns:

    printf("[%f; %f; %f]\n",r)
2 Answers
Related