필터 지우기
필터 지우기

how to convert num2str for fprintf(fid, )

조회 수: 12 (최근 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 CenterFile Exchange에서 Data Type Conversion에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by