Aramis
Followers: 0 Following: 0
Estadísticas
0 Preguntas
5 Respuestas
CLASIFICACIÓN
233.051
of 290.061
REPUTACIÓN
0
CONTRIBUCIONES
0 Preguntas
5 Respuestas
ACEPTACIÓN DE RESPUESTAS
0.00%
VOTOS RECIBIDOS
2
CLASIFICACIÓN
of 19.634
REPUTACIÓN
N/A
EVALUACIÓN MEDIA
0.00
CONTRIBUCIONES
0 Archivos
DESCARGAS
0
ALL TIME DESCARGAS
0
CLASIFICACIÓN
of 144.457
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
next prime number using While loops
THE BEST ANSWER function k = next_prime(n) k=n; while isprime(k)==false || k==n k = k+1; end end ...
3 meses hace | 0
Write a function called halfsum that takes as input an at most two-dimensional matrix A and computes the sum of the elements of A that are in the diagonal or are to the right of it. example, the input is [1 2 3; 4 5 6; 7 8 9],the ans is 26
THE BEST ANSWER , Simple&Fast function summa = halfsum(A) summa = 0; sz = size(A); for row = 1:sz(1) fo...
3 meses hace | 0
Write a function called valid_date that takes three positive integer scalar inputs year, month, day. If these three represent a valid date, return a logical true, otherwise false. The name of the output argument is valid.
The best answer function valid = valid_date(year,month,day) if not(isscalar(year))|| not(isscalar(month)) || not(isscalar(...
3 meses hace | 1
Write a function called eligible that helps the admission officer of the Graduate School decide whether the applicant is eligible for admission based on GRE scores. The function takes two positive scalars called v and q as in
This is the BEST FCKN ANSWER function admit = eligible(v, q) admit = mean([v q]) >= 92 && min([v q]) > 88; end
3 meses hace | 1
Write a function called minimax that takes M, a matrix input argument and returns mmr, a row vector containing the absolute values of the difference between the maximum and minimum valued elements in each row. As a second output argument called mmm,
function [x, y] = minimax(M) x = (max(M,[],2) - min(M,[],2))'; y = max(M,[], "all")- min(M,[], "all"); end
3 meses hace | 0