필터 지우기
필터 지우기

extract first letter from worf of string

조회 수: 3 (최근 30일)
tammna abid
tammna abid 2012년 11월 9일
I am getting errror here while compiling this code portion inputfile = textread('wi tribe.txt','%s'); % filename2='lta vlst5.txt'; [m,n]= size(inputfile);
for j=1:m str=inputfile(j); str2=str{j,1}
if (strcmp(str1,str))
count1=count1+1;
end
%numberofsentences=count1
end at line str2 =str{ j, 1} its giving error ...index exceed dimension matrix
newbiw in matlab so unable to debug it

답변 (0개)

카테고리

Help CenterFile Exchange에서 External Language Interfaces에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by