How can I extract a specific row from a table?
6 次查看(过去 30 天)
显示 更早的评论
Hi all!
Suppose I have a table with two column (i.e., Date and Temperature) like this -
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1286030/image.png)
Please note that every date has multiple temperature assign to it. Now, I have another array that has three dates -
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1286035/image.png)
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 中查找有关 Dates and Time 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!