Estadística
3 Preguntas
0 Respuestas
CLASIFICACIÓN
295.571
of 301.583
REPUTACIÓN
0
CONTRIBUCIONES
3 Preguntas
0 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.0%
VOTOS RECIBIDOS
0
CLASIFICACIÓN
of 21.339
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 175.587
CONTRIBUCIONES
0 Problemas
0 Soluciones
PUNTUACIÓN
0
NÚMERO DE INSIGNIAS
0
CONTRIBUCIONES
0 Publicaciones
CONTRIBUCIONES
0 Público Canales
EVALUACIÓN MEDIA
CONTRIBUCIONES
0 Temas destacados
MEDIA DE ME GUSTA
Feeds
Pregunta
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
casi 12 años hace | 1 respuesta | 0
1
respuestaPregunta
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
casi 12 años hace | 0 respuestas | 0
0
respuestasPregunta
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...
casi 12 años hace | 0 respuestas | 0