Hi there I need matlab code to compare the input word with list (for example if the input word is BRB which is abbrivation )I want to search for BRB in Abbrivation list and replace it with the full stanser word

 Akzeptierte Antwort

KSSV
KSSV am 26 Sep. 2016

0 Stimmen

doc strcmp and strcmpi

Weitere Antworten (1)

Ebtesam Almansor
Ebtesam Almansor am 27 Sep. 2016

0 Stimmen

= input('what is your name: ', 's');
str=native2unicode(n,'UTF-8');
c=strsplit(n); %tokenizer
%h=strfind('. ',c); % find this string
x = strmatch('لا',c);
TF = contains(c,'ا'); matches = c(TF);
help me with is please

Kategorien

Mehr zu Characters and Strings finden Sie in Hilfe-Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by