![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/18497216_1589469669714_DEF.jpg)
Randall Ang
Followers: 0 Following: 0
Statistics
RANK
253.509
of 293.481
REPUTATION
0
CONTRIBUTIONS
1 Question
1 Answer
ANSWER ACCEPTANCE
100.0%
VOTES RECEIVED
0
RANK
of 20.033
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 148.733
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
Homework: Write a function called char_counter that counts the number of a certain character in a text file.
This is my solution, u can take a look for other alternatives. function charnum = char_counter(fname,character) %fname - char ...
ongeveer 4 jaar ago | 0
Question
Hi everyone, I have been trying to debug this for loop as it always retain the last value of the array even if none of the conditions meet for every element. For instance, using readings = [1 20 55 90], it will print that reading(4)>100.
for ii = 1:length(readings) if readings(ii) > 100 break; end end fprintf('First reading above 100 is at in...
meer dan 4 jaar ago | 1 answer | 0