Statistik
3 Fragen
0 Antworten
RANG
236.578
of 301.175
REPUTATION
0
BEITRÄGE
3 Fragen
0 Antworten
ANTWORTZUSTIMMUNG
0.0%
ERHALTENE STIMMEN
0
RANG
of 21.185
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANG
of 173.238
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
Write a function that swaps two numbers x and y. Example, if x=5 and y=20, then after the function is called the new values of x and y should be x=20 and y=5. Write the code.
x=5 y=20
mehr als 11 Jahre vor | 1 Antwort | 0
1
AntwortFrage
Write a function that creates a matrix m x n in whichthe value of each element of the matrix is the sum of the indices for that cell. So, for example, the value of A(1,1) is 2, A(1,2) is 3, and A(3,6)is 9. Inputs m&n, output matrix A. Write the code
A(1,1)=2 A(1,2)=3 A(3,6)=9
mehr als 11 Jahre vor | 0 Antworten | 0
0
AntwortenFrage
Write a function called sum_range that takes two numbers, computes their sum and (a)outputs 1 if their sum is greater than or equal to zero. (b)outputs 0 if their sum is less than zero. Write the code
function sum_range=sum_range i=[-1;-8;-4]; j=[2;3;6]; if i>j A(i,j)=1 end if i<j A(i,j)=0 en...
mehr als 11 Jahre vor | 0 Antworten | 0