Statistik
5 Fragen
0 Antworten
RANG
161.788
of 300.871
REPUTATION
0
BEITRÄGE
5 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
20.0%
ERHALTENE STIMMEN
0
RANG
of 21.100
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 171.460
BEITRÄGE
0 Probleme
0 Lösungen
PUNKTESTAND
0
ANZAHL DER ABZEICHEN
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Discussions
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
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 ...
fast 6 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
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...
fast 6 Jahre vor | 4 Antworten | 0
4
AntwortenFrage
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...
fast 6 Jahre vor | 2 Antworten | 0
2
AntwortenFrage
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...
fast 6 Jahre vor | 3 Antworten | 0
3
AntwortenFrage
"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...
etwa 6 Jahre vor | 1 Antwort | 0