Statistik
5 Fragen
0 Antworten
RANG
232.123
of 298.219
REPUTATION
0
BEITRÄGE
5 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
40.0%
ERHALTENE STIMMEN
0
RANG
of 20.548
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 160.604
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 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Frage
Add code to have switch repeat if a case is not met
fprintf('Difficulty level: \nEasy: [0, 10] \nMedium: [0, 50] \nHard: [0, 100] \n'); % Print statement outputting different diffi...
mehr als 2 Jahre vor | 3 Antworten | 0
3
AntwortenFrage
How to eliminate the for loop but end with the same result
A = input('Using brackets, enter a vector: ') for i=1:length(A) if(A(i) > 0) B(i) = A(i).^3; else ...
mehr als 2 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How do I rewrite this code to output the same answer without the for loops
A = [1 3 5 7 9]; B = [2 4 6 8 10]; L = min([length(A) length(B)]); C = zeros(1, 2*L); for i=1:L C(2*(i-1)+1) = A(i); C(2*i...
mehr als 2 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Building a function that calls on an array and finds its maximum
Can somebody help/ give me an example of a function that would find the maximum of an array. Any help would be appreciated.
mehr als 4 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
Bisection method help.
function [f] = Bisection(a, b, Nmax, TOL); f=@(x) x.*x.*x.-2; i=1; BisectA = f(a) while i <= Nmax p=a+(b-a)/2; ...
mehr als 4 Jahre vor | 1 Antwort | 0