桁数の多いデータの読み込み

readmatrix, readtable, csvreadなどを使ってcsvファイルから4.111223のような桁数の多い数値を読み込むと、
4.1112のように桁数が減ってしまいます。文字列としてでも良いので、桁数の多い数値を読み込むことはできますか?

 Accepted Answer

Yuki
Yuki on 7 Jan 2020

0 votes

すみません、twitter上で回答をいただきました。
コマンドプロンプト上での表示の問題であって正しく読み込めていました。
>format long
と実行してから正しい値を確認できました。

More Answers (0)

Categories

Find more on データのインポートと解析 in Help Center and File Exchange

Products

Release

R2019a

Asked:

on 7 Jan 2020

Answered:

on 7 Jan 2020

Community Treasure Hunt

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

Start Hunting!