MATLAB Answers

0

Write a function that replaces the numbers with numerals

Asked by Nobita Nobi on 18 May 2019 at 1:56
Latest activity Commented on by Adam Danz
on 18 May 2019 at 2:57
Hello there,
Can anyone please show me how to write a function that replaces the numbers with numerals only in the first row of the string? And do we have to use strrep for every replacement in the string or there are any other ways?
Thanks in advance!

  2 Comments

Give an example, and what code you have tried so far.
There's probably another way (ie, regexp) but it's difficult to build a mental image of what you want to do.

Sign in to comment.

Products


Release

R2018b

0 Answers