Filter löschen
Filter löschen

plotting every 10 lines in excel

2 Ansichten (letzte 30 Tage)
add195
add195 am 30 Apr. 2018
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.

Antworten (1)

Ngoc Thanh Hung Bui
Ngoc Thanh Hung Bui am 30 Apr. 2018
Interesting

Kategorien

Mehr zu Line Plots finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by