Community Profile

photo

Sritama Mitra


Last seen: mer än 2 år ago Active since 2020

Followers: 0   Following: 0

Statistics

  • First Answer

View badges

Feeds

View by

Answered
Find the first element that satisfy a condition in a vector
function [summa,index]=max_sum(v,n) k=length(v); index=ones(1,1); if n<=k for i=1:(k-n+1) b=sum(v(i:i+n-1)); ...

mer än 3 år ago | 0