Files, Arrays, & Plotting
3 ビュー (過去 30 日間)
古いコメントを表示
I need a function that will:
- Input the file name (I have a rough idea how to do this)
- Import the file (I know how to do this)
- Displays the first five rows of data (Figured this one out)
- Graphs the two series (I know that the subplot function is needed, just not how to code it)
I'm not asking for the whole code, just an individual section or two.
0 件のコメント
回答 (1 件)
Adam Danz
2021 年 4 月 25 日
You mentioned rows of data so I'm guessing the files tabular data. In that case, the files can be imported using readtable | readcell | readmatrix | readtimetable depending on what kind of data are in the files.
See the plot function.
参考
カテゴリ
Help Center および File Exchange で Creating, Deleting, and Querying Graphics Objects についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!