writing matlab result to a txt file

2 ビュー (過去 30 日間)
fereshteh izadi
fereshteh izadi 2015 年 12 月 17 日
コメント済み: Renato Agurto 2015 年 12 月 18 日
i produced an adjacency matrix in matlab, how i can write that to a txt file use as an input in R please?

採用された回答

Renato Agurto
Renato Agurto 2015 年 12 月 17 日
Hi
Have you tried csvwrite?
csvwrite('myfile.txt', M);
I'm sure R can read csv files.
  2 件のコメント
fereshteh izadi
fereshteh izadi 2015 年 12 月 17 日
編集済み: fereshteh izadi 2015 年 12 月 17 日
sorry M is my adjacency matrix? i put M as my adjacency matrix and the result was written in txt file thank you
Renato Agurto
Renato Agurto 2015 年 12 月 18 日
yes, M is the matrix to be saved in the text file. Happy I could help.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeText Files についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by