I would like to change existing values of parameters
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello I am using ode15s to solve my set of differential equations. I want to see graphs with changing the original value of parameter by taking one parameter at a time and all the parameters remain same.
0 Commenti
Risposte (2)
Smith
il 30 Ott 2016
If you just need to get a graph, this will help you
function plotgraph
y0 = 0:10; % Initial values
for n = 1:length(y0)
% Just copy corresponding codes to here, including complete process to get results T and Y
[T,Y] = solver(odefun,tspan,y0(n),options); % y0(n)
% end of coping
plot(T,Y);hold on
clear T Y
end
hold off
0 Commenti
Vedere anche
Categorie
Scopri di più su Ordinary Differential Equations in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!