Kumar Shubham
Statistics
All
RANK
250,899
of 288,900
REPUTATION
0
CONTRIBUTIONS
0 Questions
3 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 19,494
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Content Feed
Answered
Matlab Text file I/o
after hours i was able to come up with the code that passes test cases. function charnum = char_counter(filename,character) %...
Matlab Text file I/o
after hours i was able to come up with the code that passes test cases. function charnum = char_counter(filename,character) %...
3 years ago | 0
Answered
I get an error, what's wrong? on Sparse matrix logic and answer
function matrix = sparse2matrix(cellvec) %creates matrix of req. size. matrix=zeros(cellvec{1}); %allots assigned scalar valu...
I get an error, what's wrong? on Sparse matrix logic and answer
function matrix = sparse2matrix(cellvec) %creates matrix of req. size. matrix=zeros(cellvec{1}); %allots assigned scalar valu...
3 years ago | 0
Answered
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(v,n) if n > length(v) summa = 0; index = -1; return; elsei...
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(v,n) if n > length(v) summa = 0; index = -1; return; elsei...
4 years ago | 0