Array idx bug when resizing it
I am making the code to plot a bifurcation diagram, but when testing I found out that jumps one step at the beginning. I also te...
5 months ago | 3 answers | 0
Help with Cody's 'Problem 672. Longest run of consecutive numbers', I wrote 'if a(i)==a(i+1)' and it says error
In my opinion It's a great problem, this is the solution I came up with function val=longrun(a) count = 1; max_count = 1; val...
10 months ago | 0