photo

Jaimin Patel


Last seen: 5년 초과 전 2020년부터 활동

Followers: 0   Following: 0

통계

MATLAB Answers

0 질문
1 답변

순위
168,179
of 300,851

평판
0

참여
0 질문
1 답변

답변 채택
0.00%

획득한 표
0

순위
 of 21,094

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 171,294

참여
0 문제
0 답안

점수
0

배지 수
0

참여
0 게시물

참여
0 공개 채널

평균 평점

참여
0 하이라이트

평균 좋아요 수

  • First Answer

배지 보기

Feeds

보기 기준

답변 있음
Write a function called max_sum that takes v, a row vector of numbers, and n, a positive integer as inputs. The function needs to find the n consecutive elements of v whose sum is the largest possible.
function [X,Y] = max_sum(v,n) % X and Y are output arguments X = -inf; %take -inf value of X for getting minus sum p = n; Y...

거의 6년 전 | 0