how to get a part of a number
4 ビュー (過去 30 日間)
表示 古いコメント
x = 1234567891011112
The output should be 56
0 件のコメント
回答 (1 件)
Voss
2022 年 10 月 8 日
x = 1234567891011112;
x_str = num2str(x)
x_str = x_str([5 6])
str2double(x_str)
0 件のコメント
参考
カテゴリ
Find more on Price and Analyze Financial Instruments in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!