I would like to change existing values of parameters
2 views (last 30 days)
Show older comments
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 Comments
Answers (2)
Smith
on 30 Oct 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 Comments
See Also
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!