Community Profile

# Kenny Kim

##### Last seen: 23 days ago
8 total contributions since 2015

View details...

Contributions in
View by

Submitted

hilbertCurve
Convert 2D data to 1D data and back easily by applying Hilbert curve transformation

Change matrix dimensions from 4D to 2 D : matrix manipulation
This should make the matrix you were looking for: datatemp = permute(squeeze(data(:,1,:,:)),[2 1 3]); datatemp = reshape...

4 years ago | 1

unstable ode45 solution
I got it to work by limiting max step size. options = odeset('AbsTol',[1e-8 1e-8 1e-8 1e-8],'RelTol',1e-4, 'MaxStep',0.1); ...

4 years ago | 0

| accepted

How to decrease index of an vector on every time step?
I don't have all your code so I can't be sure this is the problem but: rTotalAccum(n) = rTotalAccum(n) - rTotalAccum(n)*0.0...

4 years ago | 1

| accepted

ploting a specific function.
t = linspace(0,1,10001); x = nan(size(t)); for i =1:numel(t) if t(i) <=0.2 x(i) = 5*t(i); elsei...

4 years ago | 0

Question

unstable ode45 solution
I am currently modeling Hodgkin-Huxley equations. I give external input to the model at specific times and see whether action po...

4 years ago | 2 answers | 0

### 2

Question

Heat map of 2-D scatter plot data
I have a n by 2 matrix called new_data, and I want to make a heat map plotting density of scatter distribution. I want to add...

6 years ago | 2 answers | 0