How do I use elements in a vector to create a number
古いコメントを表示
If I have a vector with a certain size of elements how can I turn some of those elements into a combined number versus separate numbers in a vector?
3 件のコメント
David Hill
2020 年 9 月 28 日
Please provide and example.
x=[1 2 3 4 9 7];
y=num2str(x(2:5));
y=str2double(y(y~=' '));%2349
Cesar Valencia
2020 年 9 月 28 日
Cesar Valencia
2020 年 9 月 28 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Whos についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!