how to convert num2str for fprintf(fid, )

5 ビュー (過去 30 日間)
Adam Aust
Adam Aust 2014 年 2 月 25 日
編集済み: Adam Aust 2014 年 2 月 27 日
at the first i convert my string to number
x(indexi,indexj)=str2num(string);
indexj=indexj+1 ;
but at the end i want to use fprintf and convert num to string num2str again to print it in text file
fprintf (fid , )

採用された回答

Walter Roberson
Walter Roberson 2014 年 2 月 25 日
'%f' or '%g' or '%e'

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by