plotting every 10 lines in excel

2 次查看(过去 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
Interesting

类别

Help CenterFile Exchange 中查找有关 Data Import from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by