find function with cells

2 visualizzazioni (ultimi 30 giorni)
sermet
sermet il 12 Mag 2014
Risposto: dpb il 12 Mag 2014
A=[ 'a','b','c','d','e'];
A=A(:);
%for example I need to find which row equals 'd' in A matrix, how can I use find function in this example?

Risposta accettata

dpb
dpb il 12 Mag 2014
find(A=='d')

Più risposte (0)

Categorie

Scopri di più su Data Types in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by