Abhishek Sharma
Followers: 0 Following: 0
Statistiques
All
RANG
74 351
of 290 013
RÉPUTATION
0
CONTRIBUTIONS
1 Question
1 Réponse
ACCEPTATION DE VOS RÉPONSES
100.0%
VOTES REÇUS
0
RANG
of 19 620
RÉPUTATION
N/A
CLASSEMENT MOYEN
0.00
CONTRIBUTIONS
0 Fichier
TÉLÉCHARGEMENTS
0
ALL TIME TÉLÉCHARGEMENTS
0
CONTRIBUTIONS
0 Publications
CONTRIBUTIONS
0 Public Chaîne
CLASSEMENT MOYEN
CONTRIBUTIONS
0 Point fort
NOMBRE MOYEN DE LIKES
Feeds
Question
speeding up my for loop
%My challenge is to find the number of divisors for a number without using "divisors" inbuild function %this program will work...
environ 3 ans il y a | 2 réponses | 0
2
réponsesA répondu
Write a function max_sum that takes v a row vector of numbers & n,a positive integer as inputs.The function needs to find n consecutive elements of v whose sum is largest possible.It returns summa & index of first element of n consecutive integers.
% tbh, I used some help from these forum answers too function [summa,index]=max_sum(v,n) % first checking whether the size of ...
Write a function max_sum that takes v a row vector of numbers & n,a positive integer as inputs.The function needs to find n consecutive elements of v whose sum is largest possible.It returns summa & index of first element of n consecutive integers.
% tbh, I used some help from these forum answers too function [summa,index]=max_sum(v,n) % first checking whether the size of ...
environ 3 ans il y a | 0