print a matrix in output file
7 ビュー (過去 30 日間)
Walter Roberson 2011 年 10 月 31 日
Each of the \n in the formats indicates that you want to start a new line.
The \t you have indicate that you want a tab before the newline; that would be somewhat unusual.
Anyhow, you should use R.' (the transpose of R) as the argument to fprintf() instead of just R