Row column question
조회 수: 5 (최근 30일)
이전 댓글 표시
Dear all, I have a question to ask. I have 4 columns with dates with many rows of a value. It is a series of 2 prices with their corresponding dates.
I have in the first column the dates (04/12/2008) and in the 2nd column a value. In the 3rd column I have a date and in the 4th column I have a value.
Lets say for instance the first 2 columns are oil and 3,4 th column are natural gas.
I need a way to make sure the 1st and 3rd dates match up and what ever date which inst in column 1 or 3 I would like to delete that entry.
Hence at the end I would like the exact same number of rows and the dates which they both do not have I would like to be deleted.
I hope my English was not bad enough and somebody can help me.
Thank you.
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Time Series Objects에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!