photo

Randall Ang


Last seen: presque 4 ans il y a Actif depuis 2020

Followers: 0   Following: 0

Statistiques

MATLAB Answers

1 Question
1 Réponse

RANG
124 252
of 297 805

RÉPUTATION
0

CONTRIBUTIONS
1 Question
1 Réponse

ACCEPTATION DE VOS RÉPONSES
100.0%

VOTES REÇUS
0

RANG
 of 20 473

RÉPUTATION
N/A

CLASSEMENT MOYEN
0.00

CONTRIBUTIONS
0 Fichier

TÉLÉCHARGEMENTS
0

ALL TIME TÉLÉCHARGEMENTS
0

RANG

of 159 570

CONTRIBUTIONS
0 Problèmes
0 Solutions

SCORE
0

NOMBRE DE BADGES
0

CONTRIBUTIONS
0 Publications

CONTRIBUTIONS
0 Public Chaîne

CLASSEMENT MOYEN

CONTRIBUTIONS
0 Point fort

NOMBRE MOYEN DE LIKES

  • First Answer
  • Thankful Level 1

Afficher les badges

Feeds

Afficher par

Réponse apportée
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 ...

presque 5 ans il y a | 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...

presque 5 ans il y a | 1 réponse | 0

1

réponse