![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/16205719_1568226029898_DEF.jpg)
Naagy Omar
Followers: 0 Following: 0
Statistics
1 Question
0 Answers
RANK
155,176
of 297,046
REPUTATION
0
CONTRIBUTIONS
1 Question
0 Answers
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 20,422
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 157,776
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
Question
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...
5 years ago | 1 answer | 0