Cole Bromfield
Followers: 0 Following: 0
Statistiques
5 Questions
0 Réponses
RANG
195 352
of 295 983
RÉPUTATION
0
CONTRIBUTIONS
5 Questions
0 Réponses
ACCEPTATION DE VOS RÉPONSES
20.0%
VOTES REÇUS
0
RANG
of 20 310
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
RANG
of 155 037
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
Feeds
Question
How do I get this to display the maximum value of an array?
I wrote this function: function max=maxval(x) a=1; N=length(x); for j=x(1:N) if x(j)>a a=x(j); else ...
presque 5 ans il y a | 2 réponses | 0
2
réponsesQuestion
Is there a way to find the max value in an array without using the "max" command?
My professor wants us to create a function to find the max value in an array x (max=maxvalue(x)). He said we are not allowed to...
presque 5 ans il y a | 4 réponses | 0
4
réponsesQuestion
How to write a function for a certain number of random numbers
My assignment says: "Create an .m file that is a function that creates an array of N random integers in the range from -9999 to...
presque 5 ans il y a | 2 réponses | 0
2
réponsesQuestion
How to display two things on one line?
My assignmend is telling me to use the display command to display the phrase "The first random variable is" and the x value (cal...
presque 5 ans il y a | 3 réponses | 0
3
réponsesQuestion
"At least one 'end' is missing: the statement may begin here"
k=1 for k=1:20 disp(k) if mod(k,2)==0 disp("na") if mod(k,3)==0 disp("ba") if mod(k,5)==0 di...
presque 5 ans il y a | 1 réponse | 0