plotting every 10 lines in excel

1 回表示 (過去 30 日間)
add195
add195 2018 年 4 月 30 日
回答済み: Ngoc Thanh Hung Bui 2018 年 4 月 30 日
So I have an excel dataset that is 3 columns and 105 rows. What I want to do is for each 10 rows of data I want to plot column 1 as the x-axis and column 3 as the y-axis. I want to write the script so that it creates a separate plot for every 10 rows of data reaching all the way to the last row. so for example. So I would end up with 11 plots at the end.
It's been a life and a half since I've used matlab, and I've honestly forgotten a lot. I'm not sure if I need to put each column into a separate array and then plot or if I do something else first. And after that I need to write it out in a for loop so it does this all the way to the end of the dataset.

回答 (1 件)

Ngoc Thanh Hung Bui
Ngoc Thanh Hung Bui 2018 年 4 月 30 日
Interesting

カテゴリ

Help Center および File ExchangeData Import from MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by