Statistik
6 Fragen
0 Antworten
RANG
76.895
of 300.871
REPUTATION
0
BEITRÄGE
6 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
16.67%
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.413
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
Can someone help me convert this if-else statement to a switch statement? Its a homework problem that requires us to answer whether it would be quicker to write it as a switch or as an if-else statement. Im most confused by the for loop at the top.
for i = 1:2000 for j = 1:6 if j == 1 result = 20; elseif j == 2 result = 30; elseif j == 3 result ...
etwa 7 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
Can someone help me write this into a series?
S=2*r^3 + 4*r^5 + 6*r^7+ 8*r^9 + ... + (2n)*r^(2n+1)
etwa 7 Jahre vor | 3 Antworten | 0
3
AntwortenFrage
how to have variables from one file automatically read into another file
I have variables in file1.m that I want to be automatically transferred to an equation in file2.m. Ive tried using the load tool...
etwa 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
How to write this summation series?
S=2*r^3 + 4*r^5 + 6*r^7+ 8*r^9 + ... + (2n)*r^(2n+1). Display the sum in the main script with 3 decimal places.
etwa 7 Jahre vor | 1 Antwort | 0
1
AntwortFrage
does anyone know how to rewrite this statement to a switch/case statement? thanks
n=input('Please enter a positive or negative integer: '); if n < -2 || n > 5 disp(n/2) else if n <= 3 ...
etwa 7 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
does anyone know how to rewrite this into switch/case statements
n=input('Please enter a positive or negative integer: '); if n < -2 || n > 5 disp(n/2) else if n <= 3 ...
etwa 7 Jahre vor | 1 Antwort | 0
