フィルターのクリア

hoe to import *.dat file to matlab ?

2 ビュー (過去 30 日間)
Ernest Adisi
Ernest Adisi 2018 年 7 月 26 日
コメント済み: Ernest Adisi 2018 年 7 月 27 日
i'm trying to import the *.dat file into matlab but, it seems to have worked but the numerical values haven't appeared as expected
filename= 'B00049.dat';
M= dlmread(filename,' ',3,0)
what was expected
6.000000 6.000000 0.592404 -6.204762
18.000000 6.000000 0.649312 -6.167631
30.000000 6.000000 0.892585 -6.061882
42.000000 6.000000 1.037982 -5.933423
54.000000 6.000000 0.979648 -5.841062
what came out
0.5580 1.3140 -0.0000 -0.0073
0.5700 1.3140 0.0000 -0.0072
0.5820 1.3140 0.0001 -0.0073
0.5940 1.3140 0.0000 -0.0073
0.6060 1.3140 0.0000 -0.0072
does anyone have a suggestion please ?
Ernest
  2 件のコメント
dpb
dpb 2018 年 7 月 26 日
Can't tell anything without the input file...use the paperclip to attach it or paste a short section.
Ernest Adisi
Ernest Adisi 2018 年 7 月 27 日
hey, ive sorted it out now thanks

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by