Naagy Omar
2019년부터 활동
Followers: 0 Following: 0
Feeds
질문
Hello. I have to write a function called occurrence that tests whether a character exists in a string. If it is present, display true and the position (index) of the character. If it is not present, return inf. it gives me an error in line 2. help?!?
function find_letter(L, string) n= 1:length(L); not_found = true; for k = 1:n if isequal(L(k).lett...
4년 초과 전 | 답변 수: 1 | 0