|
|
Bifurcation diagram for a model
hi,
I have a model of 10 differential equations (10 variablese) and 17 parameters.
Now, I would to make a biforcation diagram (1 variable vs 1 parameters) at steady state. How do I create it?
thanks
regards
|
|
0
|
|
|
|
Reply
|
Giovanni
|
11/27/2010 10:48:03 AM |
|
"Giovanni " <rita.macri@tiscali.it> wrote in message <icqnl3$s5k$1@fred.mathworks.com>...
> hi,
> I have a model of 10 differential equations (10 variablese) and 17 parameters.
> Now, I would to make a biforcation diagram (1 variable vs 1 parameters) at steady state. How do I create it?
>
> thanks
> regards
maybe the code on wiki will give u some help.
http://en.wikipedia.org/wiki/Bifurcation_diagram
|
|
0
|
|
|
|
Reply
|
thomas
|
11/27/2010 7:51:03 PM
|
|
"Giovanni " <rita.macri@tiscali.it> wrote in message <icqnl3$s5k$1@fred.mathworks.com>...
> hi,
> I have a model of 10 differential equations (10 variablese) and 17 parameters.
> Now, I would to make a biforcation diagram (1 variable vs 1 parameters) at steady state. How do I create it?
Hi Giovanni,
Am I correct that you are implementing your model using SimBiology? If so, you will need to construct this plot yourself after determining the steady-state state values for different parameter values. To help you a bit more, at the bottom of this message I include sample MATLAB code for creating a bifurcation diagram for a simple model that exhibits an abrupt change in behavior at a parameter value of 0.25.
Good luck! If you are using SimBiology, please post again (or email me) if you have any other questions for feedback about SimBiology.
-Arthur
% Construct a simple model that exhibits bifurcation
m1 = sbiomodel('bifurcation');
x = m1.addspecies('x', 0.5);
p = m1.addparameter('p', 0, 'ConstantValue', false);
m1.addrule('x = x*(1-x) - p', 'rate');
% Add an event to keep x from going negative.
m1.addevent('x <= 0', {'x = 0', 'p = 0'});
% Simulate until time = 1000 to approximate steady state
cs = m1.getconfigset;
cs.StopTime = 1000;
cs.RuntimeOptions.StatesToLog = x;
% Accelerate the model to improve performance of multiple simulations
sbioaccelerate(m1);
% Sample p values from 0.15 to 0.35
pValues = linspace(0, 0.3, 1000);
xValues= zeros(size(pValues));
for i = 1:numel(pValues)
p.Value = pValues(i);
[tSim,xSim] = sbiosimulate(m1);
xValues(i) = xSim(end);
end
% Plot the bifurcation diagram
plot(pValues, xValues);
xlabel('p values');
ylabel('x value at steady state');
title('Bifurcation analysis of a SimBiology model');
|
|
0
|
|
|
|
Reply
|
Arthur
|
11/29/2010 3:01:04 PM
|
|
can you tell me code for drawing matlab code of following equation::
x(n+1)=x(n)exp[a(1-x(n))-(m/1+p*x(n))]
--
|
|
0
|
|
|
|
Reply
|
ksvsng (1)
|
6/11/2012 1:41:09 AM
|
|
|
3 Replies
616 Views
(page loaded in 0.079 seconds)
Similiar Articles: Update Diagram for Simulink - comp.soft-sys.matlabBifurcation diagram for a model - comp.soft-sys.matlab know what this diagram is? - comp.fonts How do I save a PDF diagram to JPG using when I get the Adobe Acrobat 6.0 ... MATLAB: How do you simulate a simulink model using a string ...MATLAB: How do you simulate a simulink model using a string ..... for simulink - comp.soft-sys.matlab Update Diagram for Simulink - comp.soft-sys.matlab you can try this ... Frequency Converter Simulink Diagramm - comp.soft-sys.matlab ...Bifurcation diagram for a model - comp.soft-sys.matlab Frequency Converter Simulink Diagramm - comp.soft-sys.matlab ... How to model a High Impedance Fault model with ... Best languages for simulation & modeling, DSP, computational ...Bifurcation diagram for a model - comp.soft-sys.matlab Best languages for simulation & modeling, DSP, computational ... I'd like to be able to program better, so I can do ... ode45 and events - comp.soft-sys.matlabBifurcation diagram for a model - comp.soft-sys.matlab ode45 and events - comp.soft-sys.matlab Bifurcation diagram for a model - comp.soft-sys.matlab ode45 and events ... know what this diagram is? - comp.fontsBifurcation diagram for a model - comp.soft-sys.matlab know what this diagram is? - comp.fonts How do I save a PDF diagram to JPG using when I get the Adobe Acrobat 6.0 ... Simulink: Change initial state at run-time - comp.soft-sys.matlab ...Hi, I trying to find a way to change at run-time the initial state of state-space model without using any matlab function if possible To be more... plot of fft2 of M x N - comp.soft-sys.matlabBifurcation diagram for a model - comp.soft-sys.matlab If so, you will need to construct this plot yourself after determining the steady ... me code for drawing matlab ... java 6 UML class diagrams - comp.lang.java.programmerBifurcation diagram for a model - comp.soft-sys.matlab java 6 UML class diagrams - comp.lang.java.programmer Which website has UML class diagrams for every Java SE 6 ... Duffing equation and Poincare section - comp.soft-sys.matlab ...I am trying to generate a bifurcation diagram using the events function with ode45. However, I know that setting value = t mod (2pi) is wrong for my ... Bifurcation diagram for a model - Newsreader - MATLAB Centralhi, I have a model of 10 differential equations (10 variablese) and 17 parameters. Now, I would to make a biforcation diagram (1 variable vs 1 parameters) at steady ... Download Bifurcation Diagram for the cubic map - Bifurcation ...Bifurcation Diagram for the cubic map Bifurcation Diagram for the cubic map - Bifurcation Diagram for the cubic map and a realistic model for population dynamics 7/23/2012 11:27:06 AM
|
|
|
|
|
|
|
|
|