how to get a part of a number
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
x = 1234567891011112
The output should be 56
0 commentaires
Réponses (1)
Voss
le 8 Oct 2022
x = 1234567891011112;
x_str = num2str(x)
x_str = x_str([5 6])
str2double(x_str)
0 commentaires
Voir également
Catégories
En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!