how to get a part of a number
Ältere Kommentare anzeigen
x = 1234567891011112
The output should be 56
Antworten (1)
x = 1234567891011112;
x_str = num2str(x)
x_str = x_str([5 6])
str2double(x_str)
Kategorien
Mehr zu MATLAB finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!