Answered 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);
...
Answered 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
answers
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
2
answers
Question
How do I load ASCII dat file to MATLAB
After reading some articles in the forum, I used textscan to load my .dat file to MATLAB.
Unfortunately, MATLAB only read the f...
6 years ago | 2 answers | 0
2
answers
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.