フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

csv file read and use

3 ビュー (過去 30 日間)
Shayne
Shayne 2012 年 4 月 19 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hi, this is my first post and are hoping someone can help me out! I have a csv file containing data as shown below;
2005-01-01T01:00:00,37.9
There is approx 16000 lines of data which consists of a date time and the last number is the flow in a river. There are multiple lines of data for each day in each month for the year 2005 only.
I need to average the flow for each day of the year and then plot this. I seem to be able to read all the data etc using fopen and can output the flow for each day using fgetl.
Any thoughts about how to go about this or code which may help me would be greatly appreciated.
Cheers

回答 (1 件)

Sushranth
Sushranth 2021 年 6 月 28 日
編集済み: Sushranth 2021 年 6 月 28 日
You can refer the below link for finding the average flow for each day:-
Then use the plot function.

この質問は閉じられています。

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by