FPGA projects, data science, circuit simulations.
How to download a .mat file from MATLAB Onramp
I extracted the "Cchord.mat" using the following code: clear; clc; load Cchord.mat for i = 1:3072 fprintf("%1.32f\n",y(i...
6 months ago | 0
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...
12 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...
1 year ago | 0