How can I convert a cell array with values {'S101' 'S102'},to a double array?
이전 댓글 표시
events = {'S100';'S102';'S103';'S101'}
댓글 수: 3
Walter Roberson
2018년 8월 21일
What would be the expected results?
Are there any entries that do not begin with 'S' ?
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.
Bubblesjinx
2018년 8월 21일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Data Type Conversion에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!