フィルターのクリア

Convert an array into floating numbers

13 ビュー (過去 30 日間)
Reyasudin
Reyasudin 2013 年 6 月 11 日
Hello,
I have an dataset(49 by 9). I want to convert an array(49 by 1) in the dataset from exponential notation (e.g 1.003 e +03) into floating numbers.

回答 (1 件)

Matt J
Matt J 2013 年 6 月 11 日
編集済み: Matt J 2013 年 6 月 11 日
Use STR2DOUBLE or STR2NUM.
  10 件のコメント
Matt J
Matt J 2013 年 6 月 11 日
編集済み: Matt J 2013 年 6 月 11 日
When I open the dataset
You mean when you open it in the Variable Editor? Under the "View" menu, and within that under the "Numeric Array Format" menu there are options to change the way numbers are displayed (short, long, etc...). It is very similar to the FORMAT command.
Reyasudin
Reyasudin 2013 年 6 月 11 日
yes. that what I am asking..but there is no option to display the whole number..all the available option( short, long.....) will still show the number with exponential. I want it to display like shortg or longg number format. Maybe I cannot change it?

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

カテゴリ

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