How to extract 1st digit of each number in an array
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mazhar Ali
el 1 de Feb. de 2019
Can anyone pls tell me what if x is an array of numbers can we seperate the 1st digit of each entry ..Like if x = [12 34 56 999 430 2]
and i want output out= [1 3 5 9 4 2]
0 comentarios
Respuesta aceptada
Ver también
Categorías
Más información sobre Logical en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!