photo

vighnesh rana


Last seen: 대략 5년 전 2020년부터 활동

Followers: 0   Following: 0

통계

MATLAB Answers

0 질문
2 답변

순위
172,451
of 300,847

평판
0

참여
0 질문
2 답변

답변 채택
0.00%

획득한 표
0

순위
 of 21,094

평판
N/A

평균 평점
0.00

참여
0 파일

다운로드 수
0

ALL TIME 다운로드 수
0

순위

of 171,279

참여
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 [summa,index] = max_sum(A,n) if length(A)< n summa = 0; index = -1; return; end summa = -inf; index ...

5년 초과 전 | 0

답변 있음
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(A) [row col] = size(A); total = 0; for r = 1:row for c= r:col total = total + A(r,c)...

5년 초과 전 | 0