I would like to change existing values of parameters
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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 comentarios
Respuestas (2)
Smith
el 30 de Oct. de 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 comentarios
Ver también
Categorías
Más información sobre Ordinary Differential Equations en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!