date to string conversion
4 ビュー (過去 30 日間)
古いコメントを表示
Lakshmi Chodavarapu
2021 年 12 月 27 日
コメント済み: Lakshmi Chodavarapu
2021 年 12 月 28 日
when using the following code s value is prited as '00000'
Help me what the problem is.. dtntm field has date and time
aa=(DD_SlantSmoothTEC(j).dtntm);
aaa=datestr(aa);
s=strcat(aaa(1:2),aaa(4:6));
fn1=sprintf('%s%s','DD-VTEC Vs UT,HYDE-IISC PRN PAIR DAY ',s);
title(fn1);
1 件のコメント
Stephen23
2021 年 12 月 27 日
Do NOT use the outdated, deprecated, imprecise DATESTR, DATEVEC, or DATENUM.
採用された回答
参考
カテゴリ
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!