converting string to double
古いコメントを表示
I have the string that contains '1234', and I want to convert it to the double vector[1,2,3,4]. I have tried a lot of different things, but nothing seems to work and was just wondering if there was a way to do this without using loops. Thanks
回答 (1 件)
Andrei Bobrov
2016 年 9 月 14 日
'1234' - '0'
カテゴリ
ヘルプ センター および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!