How can I extract a specific row from a table?
조회 수: 10 (최근 30일)
이전 댓글 표시
Hi all!
Suppose I have a table with two column (i.e., Date and Temperature) like this -

Please note that every date has multiple temperature assign to it. Now, I have another array that has three dates -

How can I extract these three days from the previous table with all the associated temperature? I mean, I want a matrix that will have these three dates with all the temperatures. Thus, 9 columns.
I have attached the DateToFind.mat file in this question. Can any one please help?
댓글 수: 0
채택된 답변
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!