How can I convert a cell array with values {'S101' 'S102'},to a double array?
1 回表示 (過去 30 日間)
古いコメントを表示
events = {'S100';'S102';'S103';'S101'}
3 件のコメント
John D'Errico
2018 年 8 月 21 日
A double array of what? The numbers [101, 102]? Or, perhaps the values stored inside the variables S101, S012, etc? Or maybe even the ascii representation of those characters. The point is, 'S101' is itself not a number. It is just a string of characters. In your eyes, it may represent something, but only you know the context of what you want to see.
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Structures についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!