Info

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

Splittingn and combining the number again

3 ビュー (過去 30 日間)
khaled hassan
khaled hassan 2017 年 3 月 30 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
If I have '9,36.486' (double or char) and wish to multiple the 36 with (100/60) and the 486 with *1/100. Can I split the '9,36.486', in three parts and multiply the parts and then recombine them ?

回答 (1 件)

Steven Lord
Steven Lord 2017 年 3 月 30 日
The way you've asked the question suggests to me like you may be trying to import timing data. Is that correct? If so try creating a custom import format and calling datetime to read in your data using that import format. See the description of the infmt input argument on that page for more information.

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by