How can I convert a cell array with values {'S101' 'S102'},to a double array?
Afficher commentaires plus anciens
events = {'S100';'S102';'S103';'S101'}
3 commentaires
Walter Roberson
le 21 Août 2018
What would be the expected results?
Are there any entries that do not begin with 'S' ?
John D'Errico
le 21 Août 2018
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
le 21 Août 2018
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Logical dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!