How can I write in MATLAB the D19-12 format?

2 ビュー (過去 30 日間)
gblmtc
gblmtc 2018 年 4 月 3 日
編集済み: Walter Roberson 2018 年 4 月 15 日
Hi there!
In the text below is used the D19-12 format. I have to use this numbers, they are inputs for my function. My teacher told me to extract each number, to assign it a name and to create a script with all. I have no clue what D19-12 means and how can I write it. 0.442070886493D-04, how can I write his number? What that D means? Thank you!
  2 件のコメント
Sevim Soy
Sevim Soy 2018 年 4 月 15 日
Do you have any solution for this problem ?
Walter Roberson
Walter Roberson 2018 年 4 月 15 日
編集済み: Walter Roberson 2018 年 4 月 15 日
What is shown is not in D19-12 format. Fortran D format always requires space for the exponent including the sign for the exponent.
The difference is important in order to permit values to be properly broken out.
I thought for a moment it might be Fortran G format, but checking the details of G format again I can see that cannot be the case.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeFortran with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by