필터 지우기
필터 지우기

plotting every 10 lines in excel

조회 수: 2 (최근 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 CenterFile Exchange에서 Line Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by