![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/26164535_1649153647734_DEF.jpg)
Boran Yigit Usta
Followers: 0 Following: 0
Statistik
All
RANG
215.481
of 293.481
REPUTATION
0
BEITRÄGE
0 Fragen
1 Antwort
ANTWORTZUSTIMMUNG
0.00%
ERHALTENE STIMMEN
0
RANG
of 20.033
REPUTATION
N/A
DURCHSCHNITTLICHE BEWERTUNG
0.00
BEITRÄGE
0 Dateien
DOWNLOADS
0
ALL TIME DOWNLOADS
0
BEITRÄGE
0 Beiträge
BEITRÄGE
0 Öffentlich Kanäle
DURCHSCHNITTLICHE BEWERTUNG
BEITRÄGE
0 Highlights
DURCHSCHNITTLICHE ANZAHL DER LIKES
Feeds
Beantwortet
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.
function [summa,index] = max_sum(v, n) b = zeros(1,n); a = find(v == max(v)); for ii = 1:n b(ii) = max(max(v)); ...
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.
function [summa,index] = max_sum(v, n) b = zeros(1,n); a = find(v == max(v)); for ii = 1:n b(ii) = max(max(v)); ...
fast 2 Jahre vor | 0