フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

Write queries for substring in a given string

2 ビュー (過去 30 日間)
Aditya
Aditya 2014 年 1 月 12 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
Hello friends, I wish to read the data from an excel file and choose write queries to select tuples for a particular month/year.
[a,b]= xlsread(fileName,'C:C');
I used this to store all dates in b(in 'dd-mm-yyyy' format). Now I want to display dates for a particular month,say,January i.e mm-01-yyyy
How to I write conditions to check substring of a string stored in b?
Also,please tell me how to I treat them as numbers,as in,if I want to select dates between January and April,what condition should I write.
Thanks.

回答 (0 件)

この質問は閉じられています。

Community Treasure Hunt

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

Start Hunting!

Translated by