photo

malki adil


Last seen: 4 years ago Active since 2021

Followers: 0   Following: 0

Statistics

All
MATLAB Answers

2 Questions
0 Answers

Cody

0 Problems
55 Solutions

RANK
214,411
of 302,131

REPUTATION
0

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
0

RANK
 of 21,561

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK
10,257
of 179,242

CONTRIBUTIONS
0 Problems
55 Solutions

SCORE
716

NUMBER OF BADGES
4

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

  • Promoter
  • Community Group Solver
  • Solver

View badges

Feeds

View by

Question


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 poss
I write this code for the qst in desciption function [summa,index] = max_sum(v,n) l=length(v); if n>length(v) summa =0...

4 years ago | 1 answer | 0

1

answer

Question


name value pairs with variable input arguments
function db = name_value_pairs(varargin) n=length(varargin); db ={}; if mod(n,2)~=0 || n ==0 db= {}; elseif ~ischar(var...

4 years ago | 1 answer | 0

1

answer