Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

how can we know the index of this data? for example,i want know index of H2O

1 visualización (últimos 30 días)
species=['O2','H2O','CO2')

Respuestas (1)

Bob Thompson
Bob Thompson el 23 de Jul. de 2019
I would suggest using strfind to look up a string.
result = strfind(species,'H2O');

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by