can any one explain this to me
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
hiba rashed
el 24 de Dic. de 2016
Respondida: John BG
el 25 de Dic. de 2016
x = strmatch(u(i),l,'exact')
Respuesta aceptada
John BG
el 25 de Dic. de 2016
the following examples may help
x = strmatch('max', char('max', 'minimax', 'maximum'))
returns
x = [1; 3] since rows 1 and 3 begin with 'max'. The statement
while
x = strmatch('max', char('max', 'minimax', 'maximum'),'exact')
returns
x = 1, since only row 1 matches 'max' exactly.
if you find these lines useful would you please mark my answer as Accepted Answer?
thanks in advance for time and attention
John BG
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Characters and Strings en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!