Hi There,
I have 2 columns of data, time and concentration. The time data are at intervals of about 5 seconds and there is a corresponding concentration measurement at each time. There are about 20,000 time measurements and I want to reduce this to a more manageable amount. How can I obtain say every 10th time x concentration value?
Thanks

 채택된 답변

Wayne King
Wayne King 2013년 6월 21일
편집: Wayne King 2013년 6월 21일

1 개 추천

Are you asking for just
X = ones(2e4,2);
Y = X(1:10:end,:);
Y is a two-column matrix containing every 10-th measurement (or measurements taken every 50 seconds).

댓글 수: 2

Dirk
Dirk 2013년 6월 21일
Thanks
B Jadav
B Jadav 2020년 7월 23일
hi can you share your program

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Risk Management Toolbox에 대해 자세히 알아보기

질문:

2013년 6월 21일

댓글:

2020년 7월 23일

Community Treasure Hunt

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

Start Hunting!

Translated by