Hikmat Binyaminov
Followers: 0 Following: 0
Statistics
All
RANK
76,429
of 289,747
REPUTATION
0
CONTRIBUTIONS
0 Questions
1 Answer
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 19,581
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
Feeds
Answered
Help with Cody's 'Problem 672. Longest run of consecutive numbers', I wrote 'if a(i)==a(i+1)' and it says error
function val=longrun(a) sz = size(a); n = zeros(sz); k = 1; n(k)=1; for i=2:length(a) if a(i)-a(i-1) == 0 n(k)...
Help with Cody's 'Problem 672. Longest run of consecutive numbers', I wrote 'if a(i)==a(i+1)' and it says error
function val=longrun(a) sz = size(a); n = zeros(sz); k = 1; n(k)=1; for i=2:length(a) if a(i)-a(i-1) == 0 n(k)...
3 years ago | 0