MATLAB Answers

'123' to 123

12 views (last 30 days)
dmfwlansejr
dmfwlansejr on 30 Jul 2021
Answered: Stephen on 30 Jul 2021
A='123';
i want convert to number 123
A=123

Accepted Answer

Stephen
Stephen on 30 Jul 2021
A = '123'
A = '123'
A = str2double(A)
A = 123

More Answers (0)

Tags

Community Treasure Hunt

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

Start Hunting!