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?

 Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 22 May 2016
Edited: Azzi Abdelmalek on 22 May 2016
A={'$123' ; '$425'}
A=strrep(A,'$','')

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!