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?

 Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 22 Mag 2016
Modificato: Azzi Abdelmalek il 22 Mag 2016
A={'$123' ; '$425'}
A=strrep(A,'$','')

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by