plotting every 10 lines in excel

2 visualizaciones (últimos 30 días)
add195
add195 el 30 de Abr. de 2018
Respondida: Ngoc Thanh Hung Bui el 30 de Abr. de 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.

Respuestas (1)

Ngoc Thanh Hung Bui
Ngoc Thanh Hung Bui el 30 de Abr. de 2018
Interesting

Categorías

Más información sobre Data Import from MATLAB en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by