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?

 Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 22 Mai 2016
Modifié(e) : Azzi Abdelmalek le 22 Mai 2016

1 vote

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

Plus de réponses (0)

Catégories

Community Treasure Hunt

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

Start Hunting!

Translated by