Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a cell array that contains string.

Those individual string needs to be processed, like for example:

a = {'1,2','12';'2,3','23'}

in which, comma should be removed from the string.

I don't know if what's the speed of using for loop compared with using vectorization.

But how can I achieve that using vectorization?
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900