extract a number within brackets from a cell of a table
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I have this inside a cell of a table:
(2.59836893721600e+01dB,0.00000000000000e+00°)
and I need to extract:
2.59836893721600e+01
Thanks in advance
0 comentarios
Respuestas (1)
Stephen23
el 12 de Mayo de 2022
txt = '(2.59836893721600e+01dB,0.00000000000000e+00°)'
num = sscanf(txt,'(%f')
0 comentarios
Ver también
Categorías
Más información sobre Tables 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!