Estadística
0 Preguntas
2 Respuestas
CLASIFICACIÓN
8.014
of 300.791
REPUTACIÓN
6
CONTRIBUCIONES
0 Preguntas
2 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
2
CLASIFICACIÓN
of 21.091
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 171.108
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
Write a function called halfsum that takes as input an at most two-dimensional array A and computes the sum of the elements of A that are in the lower right triangular part of A
function summa=halfsum(m) summa=0 [r c]=size(m) for i=1:r for j=1:c if i<=j summa=summa+m(i,j) ...
más de 6 años hace | 1
Write a function called under_age that takes two positive integer scalar arguments: age that represents someone's age, and limit that represents an age limit. The function returns true if the person is younger than the age limit. If the second arg
function too_young= under_age(age, limit) if (nargin<2) limit=21; end if (age<limit) too_young=true else too_...
más de 6 años hace | 1
