Read Data
古いコメントを表示
I need to read a file .txt with this format...
1945; 6937;N;000 1946; 6976;N;000 1947; 6987;N;000
how i can read these data i dont know a lot about the sintaxis, pls help and i want plot the year 1945 and the level 6937 Perform linear regression and plot the trend data.
and finally Calculate the slope of the trend.
5 件のコメント
Walter Roberson
2012 年 5 月 14 日
Are those all on one line, or are those three separate lines in the file?
Do you only want to plot for 1945? And only for 6937? If so then what is the variable that you want to plot?
per isakson
2012 年 5 月 14 日
Does it look like this in an editor? Does ";" stand for new_line in the in text file?
David Lopez
2012 年 5 月 14 日
David Lopez
2012 年 5 月 14 日
per isakson
2012 年 5 月 14 日
But what does the file look like? What happened to "N;000"?
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Linear Regression についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!