I got a table with formatted value and i want to make an array with the same values without the '$'. I've tried a lot of variations with %n, but i can not figure out how to do it. Anyone got a hint?

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 22 de Mayo de 2016
Editada: Azzi Abdelmalek el 22 de Mayo de 2016

1 voto

A={'$123' ; '$425'}
A=strrep(A,'$','')

Más respuestas (0)

Categorías

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by