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?

 採用された回答

Azzi Abdelmalek
Azzi Abdelmalek 2016 年 5 月 22 日
編集済み: Azzi Abdelmalek 2016 年 5 月 22 日

1 投票

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by